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 interestrate. a loop should then iterate once for every month in the period, performing thefollowing steps: a) ask the user for the total amount deposited into the account during that monthand add it to the balance. do not accept negative numbers. b) ask the user for the total amount withdrawn from the account during thatmonth and subtract it from the balance. do not accept negative numbers ornumbers greater than the balance after the deposits for the month have beenadded in. c) calculate the interest for that month. the monthly interest rate is the annualinterest rate divided by 12. multiply the monthly interest rate by the average ofthat month%u2019s starting and ending balance to get the interest amount for themonth. this amount should be added to the balance. after the last iteration, the program should display a report that includes the following information: %u2022 starting balance at the beginning of the three-month period%u2022 total deposits made during the three months%u2022 total withdrawals made during the three months%u2022 total interest posted to the account during the three months%u2022 final balance

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
Martha is designing a single-player game. her manager suggests that she plan the design to incorporate future modifications. which principle of game design relates to planning for future modifications?
Answers: 1
question
Computers and Technology, 24.06.2019 03:00
Click the "draw structure" button to activate the drawing utility. draw two diastereomers of (1z,4r)−1,4−dimethylcyclodecene and name them, including (e)/(z) and (r)/(s) notation. part 1 out of 4 draw the diastereomer containing a chiral center with s configuration here. window open
Answers: 1
question
Computers and Technology, 24.06.2019 07:30
Consider the folloeing website url: what does the "http: //" represent? a. protocal identifier. b. ftp. c. domain name d. resource name
Answers: 2
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, 05.05.2020 00:13
question
English, 05.05.2020 00:13
Questions on the website: 13722361