Question: a. Unit Converter 1. The program should ask the user to enter a distance in Inches 2. Then, the Program displays a menu Example: To

 a. Unit Converter 1. The program should ask the user to

a. Unit Converter 1. The program should ask the user to enter a distance in Inches 2. Then, the Program displays a menu Example: To convert from inches to Centimeters... enterora h. To convert from inches to Meters... enter (Borb) To comment from inches to Feet enter (Core) d. To convert from inches to Yand. enter (Dord) To convert from inches to Kilometers. enter (Eore) f. To convert from inches to Miles... enler (Forf) No conversion if any other character besides the listed above 3. Enter the Choice! 4. The program based on the character entered by the user will convert the number entered in step one to that specific unit 5. The program will display the converted number Example outputs Please enter a distance in inches: 50 a. To convert from inches to Centimeters enter ( A ora) b. To convert from inches to Meters.. enter (B or b) c. To convert from inches to Feet. enter(Coro) d. To convert from inches to Yard enter (Dord) c. To convert from inches to Kilometers. enter (E or c) [ To convert from inches to Miles. enter (Forf) No conversion will happen if any other character besides the listed above Enter your Choice:D Converting from inches to yards and the conversion result is: 1.38889 Please enter a distance in inches: 1 To convert from inches to Centimeters enter (A ora) b. To convert from inches to Meters. enter (B or b) To convert from inches to Feet enter (Core) d. To convert from inches to Yard. enter (Dord) c. To convert from inches to Kilometers enter (E ore) . To convert from inches to Miles enter (For) No conversion will happen if any other character besides the listed above Enter your Choice: b Converting from inches to Meters and the conversion result is: 0.0254 Please enter a distance in inches: 200 To convert from inches to Centimeters enter (Aora) b. To convert from inches to Meters enter (B or b) C. To convert from inches to Feet.. enter (Corc) d. To convert from inches to Yard enter (Dord) To convert from inches to Kilometers enter (Eore) LTo convert from inches to Miles enter (Forf) No conversion will happen if any other character besides the listed above Enter your Choice: x Invalid choice and the conversion result is na

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!