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
Get step-by-step solutions from verified subject matter experts
