Question: C++ Create a class called Person. Person should have a name, height and address. Create another class called Customer. The customer class should have a

C++
Create a class called Person. Person should have a name, height and address. Create another class called Customer. The customer class should have a ID number, array (using pointers) called purchases, and a Person variable. Make sure to create the purchases array in the constructor. Create a function to fill in purchase amount. Create a way to output all the information about a customer, including all the details in person.

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