Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C++ your job is to complete the listing of the main menu and three sub menus . More clearly, you will write loops and

In C++ your job is to complete the listing of the main menu and three sub menus. More clearly, you will write loops and show the main menu to the user when the program first starts and then allow the user to make a choice to go to the selected sub menu.

1. The user should be able to make a selection to go back to the main menu when selecting "Go back to main menu" option from a sub menu.

2. The only way for the user to exit the program is to select "Exit" menu item in the main menu.

sample run

Main Menu:

1. Department Menu

2. Staff Menu

3. Patient Menu

4. Exit the program

Enter a choice (1-4):

4 Thank you for using my program

Press any key to continue . . .

3. If the user selects "Add" , "List", etc. menu items in a sub menu, your program will do nothing for now. Later, you will modify your code to actually do the selected task.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems An Application Oriented Approach Complete Version

Authors: Michael Kifer, Arthur Bernstein, Richard Lewis

2nd Edition

0321268458, 978-0321268457

More Books

Students also viewed these Databases questions