Using classes, design an online address book to keep track of the names, addresses, phone numbers, and birthdays of family members, close friends and certain business associates. Your program should...


Using classes, design an online address book to keep track of the names, addresses,<br>phone numbers, and birthdays of family members, close friends and certain business<br>associates. Your program should be able to handle a maximum of 10 entries. For that, (10)<br>• Define the class Address that can store a street address, city, state, and zip code. Use<br>the appropriate methods to print and store the address. Also, use constructors to<br>automatically initialize the data members.<br>Define the class Person and its attributes. Add a data member to this class to classify<br>the person as a family member, friend, or business associate. Also, add a data member<br>to store the phone number. You must Add (or override) methods to print and store the<br>appropriate information. Use constructors to automatically initialize the data<br>members.<br>• Now, Define the class AddressBook using previously defined classes.<br>The program should perform the following operations:<br>o Load the data into the address book.<br>Search for a person by last name.<br>o Print the address, phone number, and date of birth (if available) of a given<br>person.<br>

Extracted text: Using classes, design an online address book to keep track of the names, addresses, phone numbers, and birthdays of family members, close friends and certain business associates. Your program should be able to handle a maximum of 10 entries. For that, (10) • Define the class Address that can store a street address, city, state, and zip code. Use the appropriate methods to print and store the address. Also, use constructors to automatically initialize the data members. Define the class Person and its attributes. Add a data member to this class to classify the person as a family member, friend, or business associate. Also, add a data member to store the phone number. You must Add (or override) methods to print and store the appropriate information. Use constructors to automatically initialize the data members. • Now, Define the class AddressBook using previously defined classes. The program should perform the following operations: o Load the data into the address book. Search for a person by last name. o Print the address, phone number, and date of birth (if available) of a given person.

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here