Home > Java > Calculate The Simple Interest In Java
What is Simple Interest ?
Simple interest is a quick and easy method of calculating the interest charge on a loan. Simple interest is determined by multiplying the daily interest rate by the principal by the number of days that elapse between payments.
Formula of Calculating Simple Interest
Simple Interest = (P × R × T)/100
Where P = Principal Amount, R = Rate per Annum, T = Time (years)
Algorithm of Calculating the Simple Interest :-
1. Define Principal, Interest and Time of loans.
2. Apply in the formula.
3. Print the Simple Interest.
Complexity in Calculating the simple interest ,
O(1)
SOMRAJ
I Hope this project have increased your knowledge regarding programming. "Keep Learning" - Somraj
USER
3 Years Ago ReplyHow Smart !!