Question: This program will represent a savings account at a bank. The balance starts at 0.0. For each time around the loop: A) Enter the type
This program will represent a savings account at a bank. The balance starts at 0.0. For each time around the loop: A) Enter the type of transaction. It can be a deposit or a withdrawal or the user can decide to stop. B) The user will then input the amount of the transaction. C) Deposits are added to the balance and withdrawals subtract. Do not allow withdrawals that would result in a negative balance. D) After every transaction, output the balance.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
