WAP to find the simple interest by taking P, n and r as inputs
WAP to find the simple interest by taking P, n and r as inputs
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
float p,n,r;
printf("Enter the Principle");
scanf("%f",&p);
printf("Enter the Rate");
scanf("%f",&r);
printf("Enter the Time");
scanf("%f",&n);
float SI=((p*r*n)/100);
printf("Simple Interest is %f ",SI);
getch();
}