Question
Imperial to Metric Units Conversion System Write a menu-driven program that will ask the user to input values of different unit measurements. The menu will
Imperial to Metric Units Conversion System
Write a menu-driven program that will ask the user to input values of different unit measurements.
The menu will present the user the opportunity to choose any available unit measurements.
Please see the display menu shown below.
1. Convert Fahrenheit to Celsius
2. Convert Fahrenheit to Kelvin
3. Convert Pounds to Kilograms
4. Convert Pounds to Grams
5. Convert Miles to Kilometers
6. Convert Feet to Meters
7. Convert Gallons to Liters
8. Convert Pints to Milliliter
9. Exit Please enter your selection:
program will convert and display the unit values with the appropriate unit symbols for the following list shown below. Make sure your program checks for invalid input (non-numerical data). If the input is invalid, print a message Invalid data and then ask the user to re-input the data. The program will continue running until the user select option 9. Ensure that all values displayed are rounded to two decimal places. All values must be printed with the appropriate unit symbols. For example, lb is the unit symbol for weight in pounds and kg for Kilograms.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started