Question: C++: Banking Project Design and implement a hierarchy inheritance system of banking, which includes Savings and Checking accounts of a customer. Inheritance and virtual functions
C++: Banking Project
Design and implement a hierarchy inheritance system of banking, which includes Savings and Checking accounts of a customer. Inheritance and virtual functions must be used and applied.
The following features must be incorporated:
1. The account must have an ID and customers full name and his/her social security number.
2. General types of banking transactions for both accounts, Checking and Savings: withdraw, deposit, calculate interest (based on the current balance, and if it was not modified, there will be no new interest), figure out the balance, and transfer funds (between the two accounts, from Checking to Savings and vice versa).
3. Savings restrictions:
Become inactive if the balance falls less than $25, and under such situation, no more withdrawals may be allowed.
A $1 charge for each transfer fund (to Checking account), with the first transfer is free.
The monthly interest rate is 3.75%.
4. Checking restrictions:
A monthly service charge is $5 (automatically be charged when Checking account was opened).
A 10 cents charge for each written check, with the first check is free.
A $15 charge for each bounced check (not enough funds).
The monthly interest rate is 2.5%.
The output mus look as follows:
Registration Is Required!
Please enter your full name:
Enter your title (Mr., Mrs., Ms., Dr.):
Enter your SSN (in the format of 123-45-6789):
Enter your account ID:
Next window: How are you today Mr. John Smith
Press
Bank Service Menu
1) Checking Account
2) Saving Account
3) End of Services
Enter your choice:
If chose option 1 it will display:
Enter your choice: 1
open/manage the checking account (y/n)?
if chose "y" it wil display
Checking Account Activities
a) Deposit
b) Withdraw
c) Transfer
d)Balance
e) Personal check
f) Interest
g) Statement
h) Done
After selecting a choice it should ask to enter an amount or to see balance or statement, or done to exit.
Same steps for saving account:
To exit select 3) End services
After selecting 3 it should display: Thanks for visiting out bank, Mr. John Smith. We hope you are happy with our services.
Did you miss anything and want to go back (y/n)?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
