Monday, 8 July 2013

Program to print program to calculate Simple Interest

#include <stdio.h>
void main()
{
int p,r,t;
float SI;
clrscr ();
printf("Enter the number");
scanf("%d%d%d",&p,&r,&t);
SI=(p*r*t)/100;
printf("%f",SI);
getch();

}

No comments:

Post a Comment