Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Place use C++. * University bank is offering new accounts to students. Each student account has two sub accounts (a savings account and a wallet
Place use C++.
* University bank is offering new accounts to students. Each student account has two sub accounts (a savings account and a wallet account). Each student account has an account number. The first account number is 1000 and in increments by one for each account that is going to be opened. (28 point) In this program design is important. Select the data structure that has the highest efficiency (55 point) Write a program that: 1. print the number of sub-account:s 2. ask user if he wants to open an account 3. if yes: 1. get the saving balance 2. get the wallet balance 3. create their account 4. repeat step 2 until the answer is no 5. print the number of sub-accounts 6. print the information of all the accounts 7. ask user to enter an account number to deposit more into it 8. ask which sub-account must be changed (saving, wallet) 9. ask for the deposit and perform it 10. ask user to enter the account number he wants to close 11 close that account if it exists 12. print the number of sub-accounts 13. print the information of all the accounts 14.(Extra 20 point optional) find the account with maximum aggregated balance print the information of that account Hint: You can change the saving and wallet classes if you need t (5 point) Possible output: . Run the code. . Get a screenshot of the resultStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started