Program to find simple interest in c language.

#include<stdio.h>
#include<conio.h>
void main()
{
 int p,n,r;
 float si;
 clrscr();
 printf("enter the value of p,n,r=");
 scanf("%d%d%d",&p,&n,&r);
 si=(p*n*r)/100;
 printf("the simple interest=%f",si);
 getch();
}

■) Output->



Comments

Popular posts from this blog

Introduction of java Programming language.

Stack data structure.