Program which creates a contacts object


C++ Language:

Make a BusinessPartner class that includes a first name, company name and a telephone number. Make a Contacts class which contains a dynamically allocated array of BusinessPartners and also the owner's name and cell phone number. Write a program which creates a Contacts object. The Business Partner array must be filled with data from the BusPhNum.txt file. Your program must then create a menu for the user to do the following: (Note: This is an example of aggregation - you must use aggregation for full credit)

1) Display all the Business Partners in the contacts object and also the owner and phone number of the owner.

2) Look up a particular name in the contacts object and retrieve the phone number of the Business Partner.

3) Look up a particular name in the contact object and retrieve the Business Partner's company.

Request for Solution File

Ask an Expert for Answer!!
MATLAB Programming: Program which creates a contacts object
Reference No:- TGS01831

Expected delivery within 24 Hours