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