## Calculate Simple Interest in c programming

In this post we will show you how to Calculate Simple Interest in c In this post we will show you how to Calculate Simple Interest in c programming. flowing code will help you to perform program. flowing code will help you to perform program.

We use this formula for calculation simple Interest :

`Simple Interest (SI)= (P*N*R)/100`

P = Principal amount. it is sum borrowed or the sum lent.

N = Period (Term) of Deposit/loan in years(one year).

R = Rate of Interest. Interest amount on every 100 for every one year.

// include header file # include <stdio.h> # include <conio.h> // main function void main() { float p,n,r,si; // P = Principal amount // N = Period (Term) of Deposit/loan // R = Rate of Interest clrscr(); // enter value of data printf("Enter P: "); scanf("%f",&p); printf("Enter N: "); scanf("%f",&n); printf("Enter R: "); scanf("%f",&r); si=(p*n*r)/100; // print result of Interest printf("\nSimple Interest is: %0.2f",si); getch(); }