Question about pow function.

I have a problem where I have to use a pow function to calculate a car payment with a fractional base with an integer raised to 12 * n.

Here is an example, p = (1+R/12)^12*n

where p = payment, R = annual rate, and n = number of years


 
  
pow((1+R/12),(12*n));
Last edited on
Topic archived. No new replies allowed.