program to input the principal rate of interest and display the simple interest to be paid at the end of each year for an year
Answers
Answered by
0
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