Question: Project 2 Design Template Part1: Flowchart and Pseudocode/Algorithm: Here is the flowchart and pseudocode for Project2 program: Part2: Comprehensive Test Plan Test your program



Project 2 Design Template Part1: Flowchart and Pseudocode/Algorithm: Here is the flowchart and pseudocode for Project2 program: Part2: Comprehensive Test Plan Test your program with at least two more test cases. Use the given data as an example. Record your data for input and output in the following table. Make sure your tests cover all the possible scenarios. Test Input Expected Output Actual Output Did the test pass? Case # |1 N 3 4 Project 2 Concepts tested in this project Selection control structure o The if statement o The switch statement Relational operators and logical operators o Use of relational and logical operators to check numeric ranges User friendly o Use of user-friendly user prompt and simple input validation o Use of meaningful output labels and format o Use of output manipulators Working with string type Use of getline() Project Description 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 program that shows the following menu options and lets the user to convert from Metric to Imperial system: Converter Toolkit 1. Temperature Converter 2. Distance Converter 3. Weight Converter 4. 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: the user must enter a country name 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 Input Validation: Do not accept a number outside the range of 1 through 4 for the menu option. 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
Step by Step Solution
3.46 Rating (153 Votes )
There are 3 Steps involved in it
pseudocede Start Display Converter Toolkit Menu Display 1 Temperature Conve... View full answer
Get step-by-step solutions from verified subject matter experts
