subject

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
How do you make a lenny face? plz, brailiest to who can answer first.
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
What are some settings you can control when formatting columns?
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Which explains extrinsic motivation? a)motivation in which there is a reward b)motivation that is personally satisfying c)motivation that is personally meaningful d)motivation in which the subject is interesting
Answers: 1
question
Computers and Technology, 25.06.2019 02:30
What are the charges for invasion of privacy on computers
Answers: 1
You know the right answer?
Write a program that calculates the balance of a savings account at the end of a three month period....
Questions
question
Social Studies, 19.05.2020 19:59
question
Mathematics, 19.05.2020 20:00
question
Mathematics, 19.05.2020 20:00