Question: Pseudo-Code 1.Declare and initialize constants and variables for menu options, conversion factors, and user input. 2.Prompt the user to enter a country name and read

Pseudo-Code

1.Declare and initialize constants and variables for menu options, conversion factors, and user input.

2.Prompt the user to enter a country name and read in the input using get line () function.

3.Display a menu of conversion options using a switch statement and prompt the user to enter a menu choice.

4. Based on the users choice, prompt the user to enter a value for conversion and read in input.

5. Depending on the menu option chosen, perform the appropriate conversion calculations and display the results.

6. If the user enters an invalid input or negative distance/weight, display an error message.

7 . After the conversion is complete, display a message with the country name and a thank you message with the programmers name and project details.

8. Terminate the program.

Can someone draw me a flowchart for this please? Thanks in advance

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!