Question: Please write this program following the instructions and useable in Visual Studio 1. Create a C++ console program that keeps track of bank accounts of

Please write this program following the instructions and useable in Visual Studio1. Create a C++ console program that keeps track of bank accountsof several customers. Your program can handle a maximum of 5 bankPlease write this program following the instructions and useable in Visual Studio

1. Create a C++ console program that keeps track of bank accounts of several customers. Your program can handle a maximum of 5 bank accounts. When the program is run, the following main menu is displayed: a. Display a list of existing bank accounts b. Add a new bank account C. Edit an existing bank account d. Exit the program After a choice from the main menu is selected, the program accurately performs the necessary operations and returns to the main menu unless option "d" is selected. I. [1 point] If option "d" is selected, your program terminates. II. [3 points] For option a, the program displays a list of existing bank accounts. Each item in this list includes an account number, the first and last names of account holder, and the available balance. 0 Display accounts sorted by account number; Give the user the choice to display accounts sorted by account balance. III. [6 points] For option b, the program displays Cannot add more than 5 accounts, when 5 accounts already exist. Otherwise, the program prompts the user to select between adding a checking account or a savings account. For each type of account, the following information is input. Name of account holder Balance (as determined by initial deposit) Account number should be assigned automatically. Start numbering at 1. For savings account, profit accrued to date is tracked. Profit is determined and manually added to total balance at the end of each month. Start at 0. For checking account, number of checks written is tracked. Each time a check is written, program user can increment the number of checks. Start at 0. IV. For option "C," [3 points] Let the user search for an account by account number. If account number does not exist, display "account does not exist and return to main menu. If the account exists, display the account number, name, balance, and number of checks written for checking 0 o account and profit accrued for savings account. After displaying account details, give the user option to edit account with the following options: [1 point] Edit name; [3 points] Deposit or withdraw money. If you choose to withdraw money, your program ensures that there is sufficient balance for the withdrawal. o [2 points] Depending on the type of account: Increment checks written for checking account; Add profit for savings account; [1 point] Return to main menu. 2. Please ensure your program meets the following design requirements: a. Design your program to demonstrate the concept of inheritance. Not meeting this requirement will result in a penalty of 20 points. b. You must demonstrate use of at least one virtual function. Not meeting this requirement will result in a penalty of 10 points. c. You must not have any public data members in any class. Not meeting this requirement will result in a penalty of 5 points. d. You must use only one array to manage all accounts (both savings and checking). Not meeting this requirement will result in a penalty of 10 points

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!