The menu items in this assignment are environing humble condition of a bank representation.
Here are the menu items:
1. Profession Balance: the counterpoise info would be stored in a mutable apparent in main
2. Make a Deposit: ask the user for the whole to guard then ole discharge Guard to come-back the new counterpoise. Guard uses two parameters. The leading represents the prevalent counterpoise and the succor represents the whole to be guarded. The discharge rejects any guard of 10,000.00 or past, or a guard whole of 0 or near. Example of the method from main: prevalent_counterpoise = guard(current_balance,amount)
3. Make a Withdrawal: ask the user for the whole to withdraw then ole discharge Withdraw to come-back the new counterpoise. Withdraw uses two parameters. The leading represents the prevalent counterpoise and the succor represents the whole to be undistinguishable. The discharge rejects any withdrawals of wholes 0 or near, or wholes that origin the counterpoise to be near than 10. Come-back the new counterpoise.
4. Quit. In this condition profession a notice: Press Penetrate to abide then end the collision when the user presses the penetrate key.
Remember, if the precious made is not 1 to 4, profession an blunder notice interrogation the user to penetrate mass 1 to 4, and to try frequently + Press Penetrate to abide then reproduce the menu.
Do not use goto or burst assertions.
Menu items are typically processed using a switch assertion. Using burst internally a switch assertion is regularly OK to fix the other preciouss are not considered.