Question: Write pseudocode and C + + code for a program that does the following: Create a class named Person. Create the following properties with appropriate

Write pseudocode and C++ code for a program that does the following:
Create a class named Person.
Create the following properties with appropriate data types:
First NameLast NamePhone NumberEmailAddresses[]
Add a default constructorAdd an overloaded constructor that takes first name, last name, and phone number as arguments.Add a destructorAdd a method for adding an address to the array
Create a class named Address with the following properties:
Address1Address2CityStateZipCode
Write code that creates an instance of the Person class.
Set the properties with dataAdd two addresses to the Address array
Print out the properties of the Person class, including the address array.

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 Programming Questions!