Thursday, February 27, 2014

Program to calculate Simple Interest

#include<stdio.h>
#include<conio.h>
main()
{
float p, r, t,si;
printf("enter p, t &r ");
scanf("%f%f%f",& p, &t, &r);
si=p*t*r/100;
printf("Simple Interest is =%f", si);
printf("Thank You");
getch();
}

No comments:

Post a Comment