Write a program that will read in a measurement in meters from the user then ask the user if they
would like it converted to feet. yards or miles. The user enters the word for the units they would
like the measurement converted to. The program will convert the measurement to the units
specified and display the original measurement and the equivalent computed value with units for
both and with valves rounded to three places after the decimal.
Use the console for input and output.
Submit printed and formatted source code and printed results of at least 3 executions, at least one
for each unit choice the user has. using different input values.
Con versions:
1 meter 3.28083985 feet
I meter— 1.093613298 yards
meter 0.0006213711922 miles
Note: You will need to clear the input stream before reading the user choice of units.

WhatsApp us