Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 311 Bytes

File metadata and controls

16 lines (11 loc) · 311 Bytes

Q. Java Program for compound interest

Formula to calculate compound interest annually is given by:

Compound Interest = P(1 + R/100)r Where, 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