1) Create a Flowgorithm program as follows.
a. Include the usual comment lines for Author, Date and Description.
b. Display the menu presented in Exercise 1. You may choose to do this in a separate function or in the Main module. You do not have to call a separate function. NOTE: Flowgorithm does not allow you to use multiple lines in an Output display, so you have to do each line with a separate Output symbol.
c. Ask the user to input a menu choice.
d. If the user enters 1, 2, 3 or 4, display the appropriate greeting.
e. If the user enters 5, the program ends.
f. If the user enters anything else, the program displays an error message
g. The menu should display in a loop until the user enters 5
2) Save the file as S12.fprg.
3) Run the program, and test it. If there are any errors, recheck the instructions and correct them, then resave the file. A screen shot of the running program is shown below.
Reviews
There are no reviews yet.