In Exercises 13 through 26, construct functions to carry out the primary task(s) of the program.
Growth of an Investment Suppose a fixed amount of money is deposited at the beginning of each month into an investment paying 6 % interest compounded monthly. After each deposit is made, [new balance] = 1.005 * [previous balance one month ago] + [fixed amount]. Write a program that requests the fixed amount of the deposits as input and displays the balance after each of the first four deposits. See Fig. 5.14.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.