Java – Calculate Simple Interest

Java Example to Calculate Simple Interest

Simple Interest = (P × R × T) / 100

P — Principal amount
R — rate per annum
T — time in years

Java method to calculate simple interest with given p, r and t values.