Calculate Simple Interest C Program

C Program To Calculate Simple Interest

Learn How To Calculate Simple Interest in C Programming Language. We have enlisted Two different methods to Find Simple Interest and amount associated to it. The First method calculates Simple Interest without using Function and the Second method has a User – Defined Function to find the Simple Interest. Simple interest is basically a quick and easy calculation on the Interest charged on a given principal amount.

Formula To Find Simple Interest

Simple Interest = (p * n * r) / 100


p = Principal Amount,

n = Number of Years / Period

r = Rate of Interest


Principal Amount = ₹ 3000

Period = 3 years

Rate of Interest = 10%

Simple Interest = ₹ 900

This C Program takes the values of p, n and r from the user and then applies the above given mathematical formula for simple interest calculation.

Must Read: C Program To Calculate Compound Interest using Functions

Method 1: C Program To Find Simple Interest without Function

Method 2: C Program To Calculate Simple Interest using Function

Must Read: C Program To Display Current Date and Time


Calculate Simple Interest in C Programming Language with and without Functions

In case you get any compilation errors in this C Program To Calculate Simple Interest or you have any doubts about it, let us know about it in the Comment Section below.

Tushar Soni

I am Tushar Soni, Co - Founder of CodingAlpha. I am a computer science student from India and passionate about Web Development and Programming. Connect with me on Facebook | LinkedIn | Google Plus

6 thoughts on “Calculate Simple Interest C Program

  • November 29, 2015 at 7:49 pm

    It’s a good thing because knowledge not only for self

    • July 31, 2016 at 7:19 pm

      Yes. Our main motive is to share whatever we know about Programming.

  • September 13, 2016 at 2:12 am

    I will always prefer the Simple Interest using Function code in C Programming since it gives more modularity and resusability to the function.

  • September 16, 2016 at 8:45 pm

    I want to print 3 digits after the decimal point in the result. Can you help me with that?

    • September 16, 2016 at 8:48 pm

      Sure! Just use this format specifier to print the answer
      %0.3f. This will get you the correct output.


Join The Discussion