Exercise 10 · Chapter: Input & Type ConversionOptional+50 XP
Unit Converter
Read a number of centimeters from the user, convert to inches, and print the result.
Formula: inches = centimeters / 2.54
Example:
Input:
254
Output:
100
Need a hint?
3 available · costs 5 XP each
javascript
Output
Run your code to see the output here.