Here you will get C program to calculate simple interest. The formula for simple interest is given below:

**P x r x t ÷ 100**

Where, **P** is principal, **r** is rate and **t** is time.

Lets have a look on program to calculate simple interest.

## C Program to Calculate Simple Interest

1 2 3 4 5 6 7 8 9 10 11 12 |
#include<stdio.h> void main() { float p,r,t,si; printf("Enter principal,rate and time:"); scanf("%f%f%f",&p,&r,&t); si=(p*r*t)/100; printf("\nSimple Interest = %f",si); } |

**Output:**

*Enter principal,rate and time:50000*

*8*

*1*

*Simple Interest = 4000.000000*

Comment down below if you have any queries regarding how to calculate simple interest in C.

I just want to say what about time is it year or month or day?If you clear it will be good.

Time is in years.

# awesome bro;

In which software are you typing this?????

I want to use only two digits after decimal what i do ?

Thanks for sharing knowledge.

THANQ YOU BOSS,BEACUSE OF YOU I HAVE SUBMITTED ALL MY OS DIGITAL ASSIGNMENTS ON TIME.

I was an fresher in programming pls help me to learn more for my better future is trust you will help me