Question: In CH, Create a class named User Profile with the following member variables: ww . . f Name 1_Name address city state zip phone Write

In CH, Create a class named User Profile with the following member variables: ww . . f Name 1_Name address city state zip phone Write the appropriate mutator (set) and accessor (get) functions for these member variables. Next, create a class named UnifiUser, which is derived from the class User Profile. The UnifiUser class should have the following member variables: customerID subscribe The Customer Number variable will be used to hold a unique integer for each customer. The subscribe variable should be a bool. It will be set to true if the customer wishes to subscribe the mailing list. Write appropriate mutator (set) and accessor (get) functions for these member variables. Demonstrate an object of the UnifiUser class in a complete program. Note: you may solve this question using abstraction technique or in a single.cpp file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
