printf(): It displays output on the screen.
scanf(): It accepts input from user.
#include <stdio.h>
int main()
{
int p,n;
float r,si;
printf("Enter a values of
p,n,r\n");
scanf("%d %d %f", &p,
&n, &r);
si = p*n*r/100;
printf("Simple Interest is:
%f\n",si);
return 0;
}