Find the Simple Interest in C

Google Advertisements

Prev Tutorial Next Tutorial

C Program to Find the Simple Interest

There are three values involve in simple interest, Principal, Rate and Time. Simple interest is simple and easyest way to calculate interest charge on a loan. This type of interest usually applies for short-term loans.

Formula for Simple Interest

Simple Interest = (P * T * R)/100
  • P = Principle amount
  • T= Time Period
  • R= Rate of interest

Calculate Simple Interest in C


void main() 
  float amount, rate, time, si
  printf("\nEnter Principal Amount : ");
  scanf("%f", &amount);
  printf("\nEnter Rate of Interest : ");
  scanf("%f", &rate);
  printf("\nEnter Period of Time   : ");
  scanf("%f", &time);
  si = (amount * rate * time) / 100;
  printf("\nSimple Interest : %f", si


Enter Principal Amount: 
Enter Rate of Interest:
Enter Period of Time:

Simple Interest:

Prev Tutorial Next Tutorial

Download Projects

Adsense Advertisements
Free Classified Site – Bedpage

Yahoo Ads Advertisements