#include<stdio.h>
#include<conio.h>
main()
{
float SI,P,N,R;
clrscr();
printf("Enter values of P, N and R: ");
scanf("%f%f%f",&P,&N,&R);
SI=(P*N*R)/100;
printf("Simple interest = : %6.2f",SI);
getch();
}
#include<stdio.h>
#include<conio.h>
main()
{
float SI,P,N,R;
clrscr();
printf("Enter values of P, N and R: ");
scanf("%f%f%f",&P,&N,&R);
SI=(P*N*R)/100;
printf("Simple interest = : %6.2f",SI);
getch();
}