Question: Create a program using Inheritance implementing the following classes: Account - base class Each account will have an account number and balance Each account will
Create a program using Inheritance implementing the following classes:
Account base class
Each account will have an account number and balance
Each account will be able to make withdrawals and deposits
Savings derived class
Each savings account will have an interest rate apply after a completed transaction
Each savings account will be able to apply and add interest to the savings account balance
Checking derived class
Each checking account will have an annual fee amount apply after a completed transaction
Each checking account will be able to apply and subtract the fee from the checking account balance
Create a program to test your design and class members.
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
