Create a class and name it person this class should include


QUESTION (C++):

Create a class and name it Person, this class should include the following data members: 

Last name · First name · Zip code. Choose a proper data type for each member. Include a default constructor that initializes last name, first name, and zip code. Also include an argument constructor. Include a function to display the date members.

Create another class and named SavingAccount. Provide fields for the customer (use the Person class), accountNumber and balance.

Provide two constructors, a default constructor and an argument constructor. Include a function that displays an account's data fields.

Include the following methods as member of the SavingAccount class: Deposit and Withdraw methods, each method has an integer argument and should update the balance member. Instantiates two SavingAccount objects using both constructor and test all the methods.

Also, use Member Initialization List (MIL) whenever it's possible. Make sure to include destructors for both classes and include the output.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create a class and name it person this class should include
Reference No:- TGS02910637

Expected delivery within 24 Hours