Program to Find Simple Interest

Program to Find Simple Interest in C

#include
#include

void main()
{
int p,r,n,si;
clrscr();
printf(“Enter principle, Rate of interest & time to find simple interest: “);
scanf(“%d%d%d”,&p,&r,&n);
si=(p*r*n)/100;
printf(“simple intrest= %d”,si);
getch();
}

Leave a Reply

Your email address will not be published. Required fields are marked *