Question: Write a menu-driven program that converts between metric and English units. The program should present the user with the following menu of options: 1) Miles

 Write a menu-driven program that converts between metric and English units.

Write a menu-driven program that converts between metric and English units. The program should present the user with the following menu of options: 1) Miles -> Kilometers 2) Kilometers -> Miles 3) F- C 4) C- F 5) lb- kg 6) kg -> lb 7) quit Enter your choice: From the menu, the user selects one of the 7 options. If the user select 7, the program should quit. If the user enters 4, for example, the program should prompt the user accordingly and perform the desired conversion Please enter the temperature in degrees C: 12 12 C- 53.6 F The program should then reprint the menu and allow the user to select another conversion. Your program should contain a minimum of 8 functions to perform the following operations: main function to print the menu and get the user's input function to convert miles to kilometer function to convert kilometer to miles function to convert F to C function to convert C to F function to convert lb to kg function to convert kg to lb Of these, store the six conversion functions in a module named metric.py

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!