# C Program to Calculate Compound Interest

Here you will get C program to calculate compound interest.

The program asks user to enter value of principle (p), rate (r) and time (t) and finally calculates the compound interest by following formula.

Compound Interest = Principle * (1 + Rate / 100) time

## C Program to Calculate Compound Interest

Output

Enter Principle, Rate and Time: 2000
2
3
Bank Loans Compound Interest = 2122.415771

Category: Simple A crazy computer and programming lover. He spend most of his time in programming, blogging and helping other programming geeks.

## 10 thoughts on “C Program to Calculate Compound Interest”

1. Roshan

Is pow is imp in this program. What is pow ??

1. Aaron ODonnell

Power of t

2. Mayank Agrawal

you can do it without pow() function which is a function of math.h library. link is given below.
https://ide.geeksforgeeks.org/a3RbQ2SmP8

1. Shiva sharma

If questions require some calculation

3. Subrahmanya hj

Power of t

2. Sandeep

Right. Programming

3. Peter Golani Robert

This program is very good and helpful enough for banking,i beg you to send me a prigram of the same type but that divide money into dollar portion and cent portion
thanks

4. Soniya

Power yes its imp

5. Rash

But what is calculated is amount and not compound interest.