Question: Write a menu-driven program that allows the user to make transactions to a checking account. Your program needs to include these options: Make a Deposit
Write a menu-driven program that allows the user to make transactions to a checking account. Your program needs to include these options:
Make a Deposit
Make a Withdrawal
Obtain a Balance
Quit
Your program must:
Ask the user for his/her name.
Let the user make as many interactions as they wish until they decide to quit. (Loops)
Assume that the account initially has a balance of $500.
Deny any withdraw transaction over the total balance.
Ask the user to make a selection from the options menu.
Make sure the user enters a proper menu number.
If option one is selected, allow the addition of funds to the balance.
If option two is selected, subtract the amount from the balance.
If option three is selected, display the total balance of the checking account.
If option four is selected, end the application.
HTTP link for IDLE Shell example: https://ottawau.blackboard.com/bbcswebdav/pid-2240594-dt-content-rid-8833144_1/courses/ITS-16163-Master-Online-Content-2017/Module%203/Checking%20Account%20Transactions%20Example.html.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
