Unitconversions
Submit solution
Java
Points:
10 (partial)
Time limit:
1.0s
Memory limit:
64M
Author:
Problem type
Allowed languages
Given below is a unit conversion Table.
Unit
Km
Meter
Centimeter
Millimeter
Micrometer
Nanometer
Mile
Yard
Foot
Inch
Write a program to convert from one unit scale to another.
Test case Input:
Enter the number: 1
Enter the unit: km
Enter the unit to be converted :Meter
Output: 1000
Comments