A formula exists for calculating the amount of money in a savings account that begins with an initial value (the initial principal, P) and earns interest with an annual interest rate i, for n years: P(1 + i)n.
Write a recursive function that calculates that same value, and check your result against the formula.
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.