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

 Unit Converter . The program should ask the user to enter

Unit Converter . The program should ask the user to enter a distance in Inches 2. Then, the Program displays a menu Example a. To convert from inches to CentimeterS ene (A ora) e. To convert from inches to Feet. enter (Corc d. To convert from inches to Yardenter (D or d .To convert from inches to Kilometers enter (E ore) f.To convert from inches to Miles...s enter (Forf) No conversion ifany other character besides the listed above 3. 4 S. Enter the Choice? The program based on the character entered by the user will convert the number entered in step one to that specific unit The program will display the converted number Example outputs lease enter a distance in inches: 50 a. To convert from inches to Centimeters enter (A or a ) c. To convert from inches to Feet d. To convert from inc hes to Yard e. To convert from inches to Kilometers enter ( C or c) .. enter (Dord No conversion will happen if any other character besides the listed above nter your Choice:D on verting from inches to yards and the conversion result is: 138889 Please cnter a distance in inches:1 enter ( A ora) enter (Eore e. To convert from inches to Kilometers f. To convert from inches to Mileseter (For f No conversion will happen if any other character besides the listed above nter your Choice: b onverting from inches to Meters and the conversion result is: 0,0254 lease enter a distance in inches: 200 To convert from inches to Centimeters enter (A or a enter (B or b a. d. To convert from inc hes to Yard..eter (Dord e. To convert from inches to Kilometers... t, To convert from inches to Miles, enter (E ore enter ( No conversion will happen if any other character besides the listed above nter your Choice: x Invalid e hoice and the conversion result is: n/a

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!