#include<stdio.h>
void main()
{
//Programwithharsh//
int p,n;
float r,si;
printf("\n enter the value of principle = ",p);
scanf("%d",&p);
printf("\n enter the value of n = ",n);
scanf("%d",&n);
printf("\n enter the value of r = ",r);
scanf("%f",&r);
si=p*n*r/100;
printf("\n simple interest =%f",si);
}
The output will be like this