Question: The code used has to be C++ The code should only start with: #include #include using namespace std; Anything such as #include will not be
The code used has to be C++
The code should only start with:
#include
Anything such as #include
Create a class named Address that has as the following attributes: street number/apt number, street name, city, and province. It should also have appropriate member functions that set and return the complete address. Next, you should create a Person class that has Address object as a private attribute. It should also have attributes for the first name and last name. The Person class should have a member function that prints the full name and address of a person. Write a driver program to test the class Person. Instantiate two different objects and display their full names and associated address.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
