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.
The application you develop has to support the following units: • length: inches, meters, feet, yards • mass: grams, ounces • volume: liters, gallons, pints The questions that the user asks will only have one number in them, and you can assume the first unit appears to be the unit to be converted into and the last unit appears to be the unit to be converted from.
Problem 1-Metric Converter 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 Problem 1-Metric Converter Write an application that will assist the user with metric conversions. Your application shou
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am