Question: bankAccount Class ( C++ with code comments please) Define the class bankAccount to implement the basic properties of a bank account. The class should store
bankAccount Class ( C++ with code comments please)
Define the class bankAccount to implement the basic properties of a bank account. The class should store and implement the following data / methods:
| bankAccount | |
| Data
| Methods
|
| Constructor:
| |
Create a main program to test the class as follows:
- Declare an array of 10 components of type bankAccount.
- Prompt the user or hard code information for up to 10 customers. For each customer, assign name, account type, balance, and interest rate.
- After all information is entered, print all account information for each customer.
Implementation Requirements
You will create three files for this assignment:
- bankAccount.h (Class definition)
- bankAccount.cpp (Class implementation)
- bankAccountTest.cpp (test file for your bankAccount class)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
