Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

can someone write me the programme for this? The objectives for this assignment

ID: 3539109 • Letter: C

Question

can someone write me the programme for this?


The objectives for this assignment involve the WHILE loop, its structure and design, and using it in a program to solve problems. The two required loops, and if you try the recommendation with an optional third loop, all must demonstrate using the WHILE loop as described in these instructions. (On this assignment do not use the FOR and DO-WHILE loops from Chapter 7 yet - they will come later...) Your program will require an input loop that continues to ask the user if they would like to make another deposit into a savings account that earns no interest. The loop must maintain a running total for the deposits and keep track of how many deposits were entered. When the user decides to stop entering deposit amounts, the loop should end and print the total amount the number of deposits, and calculate and print the average deposit. Next, your program will use another loop to determine the ending balance for a new account that earns interest. The program should ask the user to enter the number of years and interest rate to apply to this new account that will be used to make automatic annual deposits using the average (found from the first loop) and that earns interest compounded annually using the rate entered by the user. Be sure to note that this assignment requires a loop to find the ending balance instead of the math functions required in the previous assignment. See the Considerations about calculating the final balance amount using a loop. Required Output: Your program must print the following: (1) original total deposits, number of deposits, and average deposit from the first loop, and (2), the number of years invested, interest rate, total amount invested, interest earned, and the final balance from the second loop. (See the included Sample Program Interaction).

Explanation / Answer

http://web.iiit.ac.in/~kondetimanikanta.purushotham/y.cpp

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote