Compound Interest formula:
Formula to calculate compound interest annually is given by:
Compound Interest = P(1 + R/100)r
P is principle amount
R is the rate and
T is the time span
Input : Principle (amount): 1200 Time: 2 Rate: 5.4 Output : Compound Interest = 1333.099243
Please refer complete article on Program to find compound interest for more details!
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.