Share
Explore BrainMass

Example C++ Code with Menu

Need you to check and correct answer to problem. The computer screen should look like this when the program is run.

Serendipity Booksellers
Main Menu

1. Cashier Module
2. Inventory Database Module
3. Report Module
4. Exit

Enter Your Choice:

int. main()
{

cout << "Serendipity Booksellers"; endl;
cout << "Main Menu"; endl;

cout << "1. Cashier Module"; endl;
cout << "2. Inventory Database Module"; endl;
cout << "3. Report Module"; endl;
cout << "4. Exit"; endl;

cout<< "Enter Your Choice"; endl;

cout<<endl;
}

Solution Preview

Dear Student

Your code has been corrected. You basically went ...

Solution Summary

An example of how to write a simple menu based C++ program

$2.19