Question: Write a C++ program Problem 1. Write a program that asks the user to enter a number of inches on input. Then offer the user

Write a C++ program Write a C++ program Problem 1. Write a program that asks the

Problem 1. Write a program that asks the user to enter a number of inches on input. Then offer the user a menu, to select to which length format the number of inches should be converted. The menu must give the user the options to convert the number of inches to feet, yards, or miles. In your code, you may use the an if/else or a switch statement for the menu. The menu should display the following format: Menu options: (F) eet (Y) ards (M) iles Select the conversion format F/Y/M and enter it here: If the user selects miles, for example, the user would enter capital letter M and the program would print to screen a message: The number of inches entered is: 2.5 miles. // the 2.5 value is just an example As part of your answer, run the program on 23000 inches and include the output for all three formats as a C++ comment, below your code

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!