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.
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
Certainly Below is a simple Python program that fulfills the given requirements pyth... View full answer
Get step-by-step solutions from verified subject matter experts
