ok i got the pow formula to work. KNow my issues is with my AmountIntrest .Here you are applying a years worth of interest each month. You read in an annual interest rate. As was done in the formula I provided, you have to adjust that for just one month.Code:AmountInterest = a * (1 + i/12);

so would that mean ti would have to write it as

This way it si deviding the months by the interest the * by the currentanount ler me knwo if you want to see the rest of the program.Code:AmountInterest = ( pow(1 + i / 12, n)*a;