this assignment is going to be checked on Moss deduction ! could help me please? There are two main systems for measuring distance, weight and temperature, the Imperial System of Measurement, and the Metric System of Measurement. Most countries use the Metric System, which uses the measuring units such as meters and grams and adds prefixes like kilo, milli and cent to count orders of magnitude. In the United States, we use the older Imperial system, where things are measured in feet, inches, and pounds.
Hi there,
this assignment is going to be checked on Moss deduction ! could help me please?
There are two main systems for measuring distance, weight and temperature, the Imperial System of Measurement, and the Metric System of Measurement. Most countries use the Metric System, which uses the measuring units such as meters and grams and adds prefixes like kilo, milli and cent to count orders of magnitude. In the United States, we use the older Imperial system, where things are measured in feet, inches, and pounds.
Write a
Converter Toolkit
--------------------
- Temperature Converter
- Distance Converter
- Weight Converter
- Quit
- If the user enters 1, the program should ask for the temperature in Celsius and convert it to Fahrenheit
- If the user enters 2, the program should ask for the distance in Kilometer and convert it to Mile
- If the user enters 3, the program should ask for the weight in Kilogram and convert it to Pound
- If the user enters 4, the program should end.
Project Specifications
Input for this project:
- the user must enter a number to select a menu option
- the user must enter temperature in Celsius
- the user must enter distance in Kilometer
- the user must enter weight in Kilogram
- the user must enter a country name
Input Validation:
- Do not accept a number outside the range of 1 through 4 for the menu option. Be sure to display appropriate error message if the input is invalid.
- Do not accept negative numbers for distance and weight. Be sure to display appropriate error message if the input is invalid.
Output: The program should display the following:
- a menu for Converter Toolkit
- temperature in Fahrenheit, distance in miles or weight in pounds
- a country name
- Programmer’s full name
- project number
- a due date
thank you in advance for help and advice.
Trending now
This is a popular solution!
Step by step
Solved in 8 steps with 6 images