Question: Please help. Thanks. Write a menu-driven program (banking.py) that allows the user to make transactions to a savings account. Assume that the account initially has
Write a menu-driven program (banking.py) that allows the user to make transactions to a savings account. Assume that the account initially has a balance of $1,000 2. Your program's menu and output should look something like this (bold text indicates user input): Options: 1. Make a Deposit 2. Make a Withdrawal 3. obtain Balance 4. Quit Make a selection from the options menu: 1 Enter amount of deposit: 500 Deposit Processed. Make a selection from the options menu: 2 Enter amount of withdrawal: 2000 Denied. Maximum withdrawal is $1,500.00 Enter amount of withdrawal: 600 Withdrawal Processed. Make a selection from the options menu: 3 Balance: S900.00 Make a selection from the options menu: 6 Invalid option! Make a selection from the options menu: 4 Thank you for using our bank! Note: For the withdrawal option, make sure that the amount requested is not greater than the current balance. In such a case, the user should be notified (see sample output) and prompted again to enter an amount for withdrawal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
