Table of contents

## How to calculate simple interest?

Simple interest can be calculated using the formula: Simple Interest SI=(p*t*r)/100.

Here p is the principal amount. For this amount we are calculating the interest. t is the timeperiod and r is the interest rate.

Take input of p,t and r then multiply them and after that divide them by 100 and which results in rate of interest.

## c program to find simple interest

```
#include<stdio.h>
int main(int argc, char const *argv[])
{
int p,t,r;
printf("\n\n\tEnter principal, time and rate of interest:\n\t");
scanf("%d%d%d",&p,&t,&r);
float interest=(p*t*r)/100;
printf("\n\tInterest amount is %f\n\n",interest);
return 0;
}
```

### Output:

Enter principal, time and rate of interest: 1000 1 25 Interest amount is 250.000000

## People also ask

### how to find simple interest in c program?

You can find it using formula i=(ptr/100).` float interest=(p*t*r)/100;`

## People also read

- Armstrong number in C | C++ and Java
- Palindrome in C | C++ and Java
- Linear Search in C | C++ and Java
- Binary Search Algorithm
- Factorial program in C | C++ and Java
- Odd even program in c | c++ and java
- Bubble sort in c | c++ and java
- Interest formula
- Reverse a number in c | c++ and Java