Write a function to compute and return the amount of money, A, that you will have in n years if you invest P dollars now at annual interest rate i. Take n, i, and P as parameters. The formula is
A = P(1 + i)n
Solution:
Looking for help with your homework?
Grab a 30% Discount and Get your paper done!
Place an Order