Question: Write an application that will assist the user with metric conversions. Your application should allow the user to specify the names of the units as
Write an application that will assist the user with metric conversions. Your application should allow the user to specify the names of the units as strings (i.e., centimeters, liters, grams, and so on, for the metric system and inches, quarts, pounds, and so on, for the English system) and should respond to simple questions, such as
"How many inches are in 2 meters?"
"How many liters are in 10 quarts?"
Your application should recognize invalid conversions. For example, the question "How many feet are in 5 kilograms?" is not meaningful because "feet" is a unit of length, whereas "kilograms" is a unit of mass.
Step by Step Solution
3.38 Rating (167 Votes )
There are 3 Steps involved in it
This problem can be solved in various ways and with various programming languages I will show you ho... View full answer
Get step-by-step solutions from verified subject matter experts
