subject

In c++ Write a program that calculates the balance of a savings account at the end of a threemonth 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 steps:
A) Ask the user for the total amount deposited into the account during that month and add it to the balance. Do not accept negative numbers.
B) Ask the user for the total amount withdrawn from the account during that month and subtract it from the balance. 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%u2019s 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 report that includes the following information:
- starting balance at the beginning of the three-month period
-total deposits made during the three months
- total withdrawals made during the three months
- total interest posted to the account during the three months
- final balance

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 01:00
Answer these and get 40 points and brainliest
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
(, urgent need): how do i change my username
Answers: 1
question
Computers and Technology, 25.06.2019 19:00
What is the difference between blog and vlog? ?
Answers: 2
question
Computers and Technology, 26.06.2019 06:00
Purchase price is not the only factor that determines the real cost of a telecommunications technology. true/false
Answers: 1
You know the right answer?
In c++ Write a program that calculates the balance of a savings account at the end of a threemonth...
Questions
question
Mathematics, 28.09.2019 14:00