# C program to calculate compound interest

This program will **read principal, rate and time in years and then print compound interest on entered principal for given time period.**

**Compound interest** is the amount in which interest is added into the principle so that interest also can be earned interest with the principle.

**The formula to get compound interest is:**

compound_interest=principal*((1+rate/100)time-1)

## Calculate Compound Interest using C program

need an explanation for this answer? contact us directly to get an explanation for this answerOutput: