The Main Menu
A. Modify the mainmenu .cpp program so it validates the user's input. If a value out-side the range of 1 through 4 is entered, the program should display an error mes-sage. Here is an example screen:
B. Later, in Chapter 6, you will begin merging all the programs you have written into the niaininenu.cpp file. You will now start making preparations for that. After the user input has been validated, add a switch statement that branches to a section of code, depending on which menu choice the user made. For now, the program should simply display a message like "You selected item 1" when the user enters a number. Here is an example of the screen:
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.