Write a menu-driven program that allows the user to make transactions to a checking account. Your program
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
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.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill