Question: Q1. (25 marks) Create a class called Customer that has the following data members: Name (string) - Address (string) - Tel (string) - Date of

Q1. (25 marks) Create a class called Customer that has the following data members:

Name (string)

- Address (string)

- Tel (string)

- Date of birth (This should be an object of the class Date that will need to be created. A date is identified by three integers that represent the day, month, and year)

The class should have at least the following member functions:

- One or more constructors

- Changing the customers address

- Changing the customers telephone

- Modifying the customers date of birth

- Printing information about a customer

- A destructor Create a driver to test the class Customer.

in C++ please

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!