Advertisement
Spocoman

04. Inches to Centimeters

Aug 21st, 2024
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function inchesToCm (input) {
  2.     let inches = Number(input);
  3.     let cm = inches * 2.54;
  4.  
  5.     console.log(cm);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement