Question: Need help with this c + + program please. Design a C + + program that simulates a simple bank account system. Your program should
Need help with this c program please.
Design a C program that simulates a simple bank account system. Your program should have the following classes:
BankAcct: Base class representing a bank account. It should have data members for account number, account holder name, and balance. Include member methods to deposit, withdraw, and display account information.
SavingsAcct: Derived class from BankAcct representing a savings account. It should have an additional data member for interest rate. Include a member method to calculate interest based on the current balance and interest rate.
CheckingAcct: Derived class from BankAcct representing a checking account. It should have an additional data member for overdraft limit Include a member method to check if a withdrawal is within the overdraft limit
Create instances of this class using constructors and demonstrate the use of all its methods from the class and derived classes.
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
