#include <stdio.h>
int main() {
int c,p;
float r,t,si;
for(c=1;c<=5;c++)
{
printf("\n Enter Principal,Rate,Time for %d\n",c);
scanf("%d%f%f",&p,&r,&t);
si=(p*r*t)/100.0;
printf("\n SI for %d is %f",c,si);
}
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: