Question: Write a program that calculates the balance of a saving account at the end of a three month period. It should ask the user for
Write a program that calculates the balance of a saving account at the end of a three month period. It should ask the user for the starting balance. A loop then iterate once for every month in the period, performing the following steps: A. Ask the user for the total amount deposited into the account during the month and add it to the balance. Do not accept negative numbers. B. Ask the user for the total amount withdrawn form he account during the month and subtract it from the balance. Do not accept negative numbers.
After the last iteration, the program should call a function to that displays a report that includes the following information: Starting balance Total deposits made during the three months Total withdrawals made during the three months Final balance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
