Computers and Technology
Computers and Technology, 09.12.2019 17:31, dval8258

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:20, Masielovebug
In what kind of attack can attackers make use of millions of computers under their control in an attack against a single server or network availability confidentiality integrity identity automated attack software? those who wrongfully disclose individually identifiable health information can be fined up to what amount per calendar year? single most expensive malicious attack hipaa what are script kiddies? advanced persistent threat security manager security engineer what level of security access should a computer user have to do their job what process describes using technology as a basis for controlling the access and usage of sensitive data? cybercriminal
Answers: 1
image
Computers and Technology, 22.06.2019 12:40, Courtneymorris19
The most complicated four letter word
Answers: 1
image
Computers and Technology, 23.06.2019 02:30, noah2o2o
These factors limit the ability to attach files to e-mail messages. location of sender recipient's ability to open file size of file type of operating system used
Answers: 2
image
Computers and Technology, 23.06.2019 12:30, Prettygirlyaya
How is the brightness of oled of the diaplay is controled
Answers: 1
Do you know the correct answer?
Write a program that calculates the balance of a savings account at the end of a three-month period....

Questions in other subjects:

Konu
Social Studies, 07.04.2021 22:20
Konu
Mathematics, 07.04.2021 22:20
Konu
Mathematics, 07.04.2021 22:20
Konu
English, 07.04.2021 22:20