Question: Create a Contact class using C++ that will keep a varied number of telephone numbers as Phone classes. Phone will contain 2 public strings, phone
Create a Contact class using C++ that will keep a varied number of telephone numbers as Phone classes. Phone will contain 2 public strings, phone type (like fax, home, work, etc.), and phone number.
Populate several Contact instances in an array and set up a loop to input as many phone numbers as the user wants.
note: Using C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
