c-thumb

C program to calculate Simple Interest

In this post, I am going to show you how to write a simple C program to calculate the Simple Interest.

The formula to calculate the Simple Interest is,

Simple Interest = (Principal × Time × Rate ) / 100

Same formula we have to apply here, so let’s write the C program now,

Let’s see a sample output of the above C program:

SI = (5000 × 2 × 8.2) / 100 = 820.00

Where,
P = 5000
T = 2 (yrs)
r = 8.2%

I hope this program is helpful for beginner C programming learners and school/college students.

Related Posts

Leave a Reply