Description: A bank account and related administrative procedures. All bank account deposits and withdrawals can be.
The deposit can produce a certain interest, inquiries and withdrawal transaction to pay a certain fee.
Derived classes: SavingAccount and CheckingAccount SavingAccount: Account inherited member function constructor accepts two parameters: Store
Section initial value (initialBalance) and interest rates (rate) add a data member: Interest rate (interestRate),
Increase public type of member function is used to calculate the interest rate (calculateInterest ()). CheckingAccount: constructor should receive two parameters, one is the initial value of the deposit
(InitialBalance), one is the fee (fee) add a data member: Fee
(TransactionFee) redefine member functions credit () and debit (), to enable the free balance
Minus fees, requires member function to update the number of deposit by calling the base class member function
To Search:
File list (Check if you may need any files):
Ex3\Account.cpp
...\Account.exe
...\Account.h
...\Checking.cpp
...\Checking.h
...\main.cpp
...\Savings.cpp
...\Savings.h
Ex3