divide the annual interest R by n, the number of periods per year
Call that r.
add 1 to r
and so on, to finish calculating P((1+R/n)^(n*y) - 1)
Write an algorithm to calculate compound interest
2 answers
Nice one