Write a program that calculates the compund intrest when a user is promted to enter the principle amount the duration in years and the total amount issued
Answers
Answered by
1
Answer:
Explanation:
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
Environmental Sciences,
2 days ago
English,
2 days ago
Math,
2 days ago
Social Sciences,
5 days ago
Math,
8 months ago
English,
8 months ago
English,
8 months ago