Skull D.

asked • 09/12/19

How to convert?

Write a program which asks the user to enter a number of meters and convert that value to miles, yards, feet, and inches. The conversion factor is 1 inch = 2.54 centimeters. Display your results to 2 decimal places. Declare constantsfor the conversion factorand other values a appropriate.


I try to make a reasoning on the result of the sample run that says 3610.9 meters, convert to miles, yards, feet, and inches. And this sample find the value that I can not find by using the conversion calculation. Example to calculate the conversion from 3610.9 meters to miles = 2, and for yards = 428, for feet = 2, and for inches = 9.42.

1 Expert Answer

By:

Patrick B. answered • 09/14/19

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.