Question: Using Microsoft Visual Studio create a C++ program that solves the following problem. 1. Read the problem. Create a program that keeps track of up

Using Microsoft Visual Studio create a C++ program that solves the following problem.
1. Read the problem. Create a program that keeps track of up to 8 contacts. The user should be able to add and display entries by selecting which operation to perform from a menu.
The program should perform the following operations:
1. A menu should appear prompting the user to enter A to add an entry; P to print the entries; Q to quit. The menu should repeat continuously until the user enters Q (upper or lower case).
2. When the user enters A, they should be prompted for the name and email address of a contact. If 8 contacts are already being stored, display an error message and redisplay the menu. Name and email address should be strings. Do not format either entry (any input should be acceptable). After collecting and storing the name and email address redisplay the menu.
3. When the user enters P, all of the stored names and email addresses should display. After the names and email addresses display, the menu should redisplay.
4. When the user enters something other than A, P, or Q, the menu should redisplay.
5. Create a class that holds the name and email address. Create an array of 8 objects of the class type to hold the data. The class should have a member that prompts for, and collects the name and email address. The class should have a member that displays the name and email address.
2. Create a new Visual C++ Win32 Console application and name it:

CIS022_S2017_Final your name

Select a location where you can find it later. Choose the default application settings.

3. Write the program. Write code that solves the problem described in item 1. The program should immediately terminate when Q is entered (do not pause

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!