Write a recursive program that accepts three positive integers: p, a principal amount, i, an interest rate, and n, a number of years, and computes the interest accumulated, assuming that the interest is compounded annually.