C Lang: Program in C to print Simple Interest when Principal Amount, Rate of Interest and Time are given




#include <stdio.h>
#include<conio.h>
void main()
{
int P, R, T, SI;
P=1000, R=10,  T=3;
clrscr();
SI=P*R*T;
printf("Simple Interest is %d",SI);
getch();
}

Comments

Post a Comment

Popular Posts