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 15:30
Which of the following examples has four beats in each measure?
Answers: 2
question
Computers and Technology, 22.06.2019 18:40
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
question
Computers and Technology, 23.06.2019 09:10
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
Which of the following characters is acceptable to use in a filename? ? / – %
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
Computers and Technology, 28.10.2020 17:50
question
Social Studies, 28.10.2020 17:50
question
Mathematics, 28.10.2020 17:50
question
Mathematics, 28.10.2020 17:50
question
History, 28.10.2020 17:50
Questions on the website: 13722363