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, 23.06.2019 04:31
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
If you're using an existing powerpoint presentation that will receive new slides based on a word outline, select the a. slide that will appear after the new slides. b. first slide in the presentation. c. slide that will appear before the new slides. d. last slide in the presentation.
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
Font size, font style, and are all aspects of character formatting.
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
1. ask the user how many questions are in the quiz. 2. ask the user to enter the key (that is, the correct answers). there should be one answer for each question in the quiz, and each answer should be an integer. e.g., 34 7 13 100 81 3 9 10 321 12 might be the key for a 10-question quiz. you will need to store the key in an array. 3. ask the user to enter the answers for the quiz to be graded. there needs to be one answer for each question. note that these answers do not need to be stored; each answer can simply be compared to the key as it is entered. 4. when the user has entered all of the answers to be graded, print the number correct and the percent correct. 5. add a loop so that the user can grade any number of quizzes with a single key. after the results have been printed for each quiz, ask "grade another quiz? (y/n)." note: you only have one array (the key). you are not creating a new key for each set of quiz answers.
Answers: 3
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, 19.01.2021 06:40
question
Mathematics, 19.01.2021 06:40
question
Mathematics, 19.01.2021 06:40
question
English, 19.01.2021 06:40
question
History, 19.01.2021 06:40