## Sep 30, 2011

### C program to find the simple interest , given principle, rate of interest and time.

C program to find the simple interest , given principle, rate of interest and time. Simple Interest is the money paid by the borrower to the lender, based on the principle amount, Interest rate and the time period.
Simple interest is calculated by, SI=P*T*R/100 formula.
Where, P is the principle amount.
T is the time period.
R is the Interest Rate.

```/***********************************************************
* You can use all the programs on  www.c-program-example.com
* for personal and learning purposes. For permissions to use the
* programs for commercial purposes,
* contact info@c-program-example.com
* To find more C programs, do visit www.c-program-example.com
* and browse!
*
*                                  Happy Coding
***********************************************************/

#include <stdio.h>
#include <conio.h>

void main()
{

float p, r, si;
int t;

clrscr();

printf("Enter the values of p,r and t\n");
scanf ("%f %f %d", &p, &r, &t);

si = (p * r * t)/ 100.0;

printf ("Amount = Rs. %5.2f\n", p);
printf ("Rate   = Rs. %5.2f%\n", r);
printf ("Time   = %d years\n", t);
printf ("Simple interest  = %5.2f\n", si);

}```
```Read more Similar C Programs
Searching in C

Number Theory ```
`C Strings`
` `
You can easily select the code by double clicking on the code area above.