write a program to find the simple interest and compound intrest.
Answers
Answered by
1
Answer:
Introduction to simple interest and compound interest
Compound Interest is calculated on the principal amount and the interest that accumulates on it in every period, using the formula: CI = P(1 + r / n)nt where P = Principal, R = Rate,n = number of compounding periods per unit and T = Time.
Answered by
3
Explanation:
Enter principal amount (p): 5000 ↲ Enter time in year (t): 2 ↲ Enter rate in percent (r): 18 ↲ Simple Interest = 1800.000 Compound Interest = 1962.000 Note: ↲ indicates ENTER is pressed. C program to print Hello, World!
Similar questions