Question: Step 1 : Declare a class Customer, define all the member methods and store it in Customer.cpp Customer ( ) : to initialize the member
Step : Declare a class "Customer", define all the member methods and store it in Customer.cpp
Customer : to initialize the member variables to NULL
Customer CustID: int, CustName: string, CustAddress: string: To initialize the member variables with the parameters received
CustomerCustomer& oCustomer : To initialize an object with another object
Customer : To display a message during object destruction
Use this pointer in all getter methods while returning the private date member value
Step : Create a Main Function outside the class.
In this function, read the Customer details from the command line and store it in the temporary variables
Define objects which uses the types of constructors defined in Customer class
Using getter methods, display all the customer details
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
