Question
Programming Project #3 Metric English Conversion Write a C++ menu-driven program that can convert between Metric and English system. The conversion should exactly cover the
Programming Project #3 Metric English Conversion Write a C++ menu-driven program that can convert between Metric and English system. The conversion should exactly cover the following fields and sub-fields: 1. Distance: Inch to centimeter, and reversed order. (1 inch = 2.54 centimeter) Foot to meter, and reversed order. (1 foot = 0.3048 meter) Mile to kilometer, and reversed order. (1 mile = 1.609 kilometer) 2. Weight: Ounce to gram, and reversed order. (1 ounce = 28.349 gram) Pound to kilogram, and reversed order. (1 pound = 0.453 kilogram) 3. Volume: Ounce to milliliter, and reversed order. (1 ounce = 29.573 milliliter) Gallon to liter, and reversed order. (1 gallon = 3.785 liter) Quart to liter, and reversed order. (1 quart = 0.946 liter) 4. Pressure: PSI to Kg/cm, and reversed order. (1 PSI = 0.07 kg/cm) 5. Temperature Fahrenheit to Celsius, and reversed order. ( Celsius = (5 / 9) (Fahrenheit 32) ) Input validation: Dont accept negative values entered for all conversions, except for temperature conversion.
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