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.
Read more about C Programming Language .

/***********************************************************
* 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 [email protected]
* 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 tn");
scanf ("%f %f %d", &p, &r, &t);

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

printf ("Amount = Rs. %5.2fn", p);
printf ("Rate = Rs. %5.2f%n", r);
printf ("Time = %d yearsn", t);
printf ("Simple interest = %5.2fn", 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.

To get regular updates on new C programs, you can Follow @c_program

You can discuss these programs on our Facebook Page. Start a discussion right now,

our page!

Share this program with your Facebook friends now! by liking it

(you can send this program to your friend using this button)

Like to get updates right inside your feed reader? Grab our feed!

(c) www.c-program-example.com

2 comments on “C program to find the simple interest , given principle, rate of interest and time.

  • Piyush chourasia says:

    display simple interest on principal amount on the basis of rate of interest per annum and the specifiy duration in c language on paper work

    Reply
    • Sandeepa Nadahalli says:

      Hi Piyush,

      Thanks for the comment. But it’s not very clear what you are trying to say here. Can you rephrase it please?

      Reply

Leave a Reply