Hallo,
you do not define or declare the function printf. But you USE it!
Therefore you should remove the 'int' in front of the printf.
To avoid the warning you get then, you should additionaly include the header file stdio.h.
#include <stdio.h>
int main()
{
int p,n;
float si,r;
p=1000;
n=3;
r=8.5;
/*formula for simple interest*/
si=p*n*r/100;
printf("%f\n",si);
}
czerny