Can you help me in C++ please
Define the class "bankAccount" to implement the basic propertiesof a bank account.
An object of this class should store the following data:
Account holder’s name (string),
account number (int),
account type (string, checking/saving)
balance (double)
and interest rate (double).
(Store interest rate as a decimal number.) Add appropriatemember functions to manipulate an object. Use a static memberinthe class to automatically assign account numbers. Also, declare anarray of 10 components of typebankAccount to process up to 10 customers and write a program toillustrate how to use your class.
1: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.1Enter customer's name: Sara RawlingsEnter account type (checking/savings): checkingEnter amount to be deposited to open account: 5000Enter interest rate (as a percent): 41: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.2Enter account number:2700
Invalid customer id.1: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.3Account Holder Name: Hello KittyAccount Type: checkingAccount Number: 2700Balance: $5000.00Interest Rate: 4.00%*****************************1: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.2Enter account number
Enter amount to be deposited: 2001: Enter 1 to make a deposit.2: Enter 2 to withdraw.3: Enter 3 to check balance.9: Enter 9 to exit.3Account Holder Name: Hello KittyAccount Type: checkingAccount Number: 1610Balance: $5200.00Interest Rate: 4.00%1: Enter 1 to make a deposit.2: Enter 2 to withdraw.3: Enter 3 to check balance.9: Enter 9 to exit.2Enter amount to be withdrawn: 1001: Enter 1 to make a deposit.2: Enter 2 to withdraw.3: Enter 3 to check balance.9: Enter 9 to exit.91: Enter 1 to add a new customer.
2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.1Enter customer's name: Jose CrossEnter account type (checking/savings): savingsEnter amount to be deposited to open account: 3000Enter interest rate (as a percent): 51: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.3Account Holder Name: Jason BorneAccount Type: checkingAccount Number: 1100Balance: $5100.00Interest Rate: 4.00%*****************************Account Holder Name: Sara RawlingsAccount Type: savingsAccount Number: 1200
Balance: $3000.00Interest Rate: 5.00%*****************************1: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.9