Computers and Technology

Write a program that calculates the balance of a savings account at the end of a three month period. it should ask the user for the starting balance and the annual interest rate. a loop should then iterate once for every month in the period, performing the following: a) ask the user for the total amount deposited into the account during the month. do not accept negative numbers. this amount should be added to the balance. b) ask the user for the total amount withdrawn from the account during that month. do not accept negative numbers or numbers greater than the balance after the deposits for the month have been added in. c) calculate the interest for that month. the monthly interest rate is the annual interest rate divided by 12. multiply the monthly interest rate by the average of that month's starting and ending balance to get the interest amount for the month. this amount should be added to the balance. after the last iteration, the program should display a final report that includes the following information. 1. starting balance at the beginning of the three-month period 2. total deposits (money amount) made during the three month period 3. total withdrawals (money amount) made during the three month period 4. total interest 5. final balance posted to the account during the three months

answer
Answers: 3

Similar questions

Do you know the correct answer?
Write a program that calculates the balance of a savings account at the end of a three month period....

Questions in other subjects:

Konu
Biology, 17.09.2019 05:50
Konu
Mathematics, 17.09.2019 05:50