Advertisement
Didart

Inches To Centimeters

Mar 4th, 2022
614
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function inchesToCentimeters(input) {
  2. let inch = Number(input[0]);
  3. let centimeters = inch * 2.54;
  4.  
  5. console.log(centimeters)
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement