Question: Part A: Basic LO Create a file lab10a.cpp and write a C++ program that prints out the prompt bank>and waits for user input. The user

 Part A: Basic LO Create a file lab10a.cpp and write aC++ program that prints out the prompt "bank>"and waits for user input.The user can enter the following commands: "deposit withdraw balance" and "quit".

Part A: Basic LO Create a file lab10a.cpp and write a C++ program that prints out the prompt "bank>"and waits for user input. The user can enter the following commands: "deposit withdraw balance" and "quit". Repeat the prompt after handling each user input. If the user selects "deposit", print out "DEPOSIT SELECTED If the user selects "withdraw", print out "WTTHDRAWSELECTED". If the user selects "balance", print out "BALANCE SELECTED". If the user selects "quit", exit the program. e execution bank deposit DEPOSIT SELECTED bank withdraw WITHDRAW SELECTED bank balance BALANCE SELECTED bank quit Part B: C++ Classes Create a copy of lab10b.cpp adapt your I/O from part l to accommodate the following functionality (Note: You will need to create additional files for the class implementation and you will l to create an instance of type Bank in your have lab10b.cpp file): Implement a C+ class Bank. Your bank will contain 10 accounts, whose account numbers range from 0 to 9. Bank contains the following public functions (you can choose the return type)

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!