Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Iv Special Issue On Database Systems For Biomedical Applications Lncs 6990

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Christian Bohm ,Johann Eder ,Claudia Plant

2011th Edition

3642237398, 978-3642237393

More Books

Students also viewed these Databases questions