Question: Your Objective in this section is to create a c + + Contact Card structure. The structure will be pre - populated with values and

Your Objective in this section is to create a c++ Contact Card structure. The structure will be pre-populated with
values and stored in an array of structures, show a function prototype and uses namespace.
Instructions
Create a struct called "Contacts" with the following attributes: firstName, last:Name, and phoneNumber.
In your main, populate three elements of an array of structures called arrayContacts with data (first name,
last name, and phone number).
Create a void function called "printContacts" that will take the anray you created as a parameter and print
out the list of contacts you have pre-populated similar the the example output shown below.
In your menu, add option 8 to Print Contacts
When the user selects option 8, call the print Contacts function and print the list of contacts to the screen.
Challenge!
As an optional challenge, you can create a class rather than a structure. If you choose to complete
the class challenge, please make sure you have a header file as well as an implementation file along
with your main cpp file.
The output should be similar to:
Programming 1 Course ProjectPlease Enter your First Name: Kevin
Please Enter your Last Name: Roark
Welcome to my Course Project Kevin!
Enter Your Request: 8
Contact List:
Name: Kevin Roark
Phone: 210-837-0600
Name: Bart Simpson
Phone: 210-444-1234
Name: Sally Smith
Phone: 210-324-7895
 Your Objective in this section is to create a c++ Contact

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!