Question: C++ Design/Construct two related classes: House and HouseAddress, and these two classes must be related appropriately (3 points). Each class should contain one constructor and
C++
Design/Construct two related classes: House and HouseAddress, and these two classes must be related appropriately (3 points). Each class should contain one constructor and one member function and two private members. Also create the main() function to test the relationship you use in the program(2 points)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
