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, 21.06.2019 16:00
What does josh silverman name as the most important aspect of managing finances?
Answers: 2
question
Computers and Technology, 23.06.2019 00:10
My has been slow anyone else’s ?
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
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
Mathematics, 01.03.2021 01:30
question
Chemistry, 01.03.2021 01:30
question
Mathematics, 01.03.2021 01:30
question
Mathematics, 01.03.2021 01:30
question
Mathematics, 01.03.2021 01:30
Questions on the website: 13722360