Hi,

I'm learning C Basics,

Here's my code :

I get the following error in DEV C++ : http://lookpic.com/d2/i2/1655/KFnQys1y.gifCode:// This program finds the monthly installment #include <stdio.h> #include <math.h> int main(void){ float P,Rpct,R,M; int N; printf("\nEnter: Principal, Rate%, No. of yrs.\n"); scanf("%f %f %i",&P,&Rpct,&N); R = Rpct/100; M = P*R*pow(1+R,N)/(12*(pow(1+R,N)-1); printf("\n$%1.2f,@%11.2f%% costs $%1.2f over %i years",P,Rpct,M,N); printf("\nPayments will total $%1.2f",12*M*N); return 0; }

Can anyone shed some light on it??