Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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