Write a C program to calculate the simple interest.
#inlcude<stdio.h>
#include<conio.h>
void main()
{
float P,R,T,SI;
clrscr();
printf(“Enter the Principle of simple interest:”);
scnaf(“%f”,&P);
printf(“\nEnter the Rate of interest:”);
scanf(“%f”,&R);
printf(“\nEnter the Time period of interest:”);
scanf(“%f”,&T);
SI= (P*R*T)/100;
printf(“Simple interest = %f”, SI);
getch();
}

0 Comments
Have any query? Want any type of module?
Please comment it down and let me know.