(10) Question 1 Create a class address_book to store the relatives or friends names, office address, Contact no. and DOB
Posted: Mon May 02, 2022 12:26 pm
(10) Question 1 Create a class address_book to store the relatives or friends names, office address, Contact no. and DOB (date of birth) of relatives and friends. Your program should be able to handle a maximum of 5 entries. етуге pety hing -onts -RY1 AT Year un pett etting, ring vald gettato guttatt etting perontyp (tethy-*.tring) attenti) goy natin gelonthocenti in .getYeart 16 printetot) onti Veid detetyt-1, LE-1, 1990) 1. Create a class address Type that can store a street address, city, state, and ZIP code. Use the appropriate functions to print and store the address. Also, use constructors to automatically initialize the member variables. - Create a class extPerson Type using the class person Type, the class dateType, and the class address Type. Add a member variable to this class to classify the person as a family member or friend. Also, add a member variable to store the phone number. Add (or override) the functions to print and store the appropriate information. Use constructors to automatically initialize the member variables. Create the class addressBookType using the previously defined classes. An object of the type addressBookType should be able to process a maximum of 5 entries. The program should perform the ollowing operations: Load the data into the address book Print the address, phone number, and date of birth of a given person On the user's request, print the names of all family members, friends . .