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


void main()
	float p,r,t,ci;
	printf("Enter Principle, Rate and Time: ");
	printf("Bank Loans Compound Interest = %f%",ci);


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

10 thoughts on “C Program to Calculate Compound Interest”

  1. 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

Leave a Comment

Your email address will not be published. Required fields are marked *