Question: This is C++ Problem Unit Converter 1. The program should ask the user to enter a distance in Inches 2. Then, the Program displays a
This is C++ Problem

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. enter (A or a) b. To convert from inches to Meters... enter (Borb) To convert from inches to Feet.... enter (Corc) d. To convert from inches to Yard... enter (Dord) To convert from inches to Kilometers. enter (E ore) f. To convert from inches to Miles.... enter (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 or a) 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) e. To convert from inches to Kilometers.. enter (E ore) f 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: 138889
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
