Write the java expression for the following. SI = PRT/100 where SI is simple interest, P is Principal, R is rate and T is time.
Answers
Answered by
0
Answer:
Write a program to input Principal (p), Rate (r) and Time (t). Calculate and display the amount, which is compounded annually for each year by using the formula:
Simple Interest:
(si) = (prt) / 100
p = p + si
[Hint: The amount after each year is the Principal for the next year]
Similar questions