C Tutorial - C program to calculate compound interest

preview_player
Показать описание
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)
Рекомендации по теме
Комментарии
Автор

But time is in fraction
How to calculate

RajGupta-forr