Java Program to Calculate Compound Interest

Here you will get java program to calculate compound interest.

We can calculate compound interest by following formula.

Compound Interest = Principle * (1 + Rate / 100) time

Also Read: Java Program to Calculate Simple Interest

 

Output

Enter principle: 1000
Enter rate: 4
Enter time: 10

Compound Interest = 1480.2442849183444

Leave a Reply

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