Simple Interest and Compound Interest are the ways of calculating the interest charge on the principal loan amount. Simple Interest is calculated on the principal amount, using the formula: SI = (P * R * T) / 100 where P = Principal R = Rate and T = Time. 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 Write a C Program to calculate Simple Interest and Compound Interest. - Tips: If you want to use pow() function which is defined in
header file Example: p=1000, r=4, t=5 Simple Interest should be 200. Compound Interest should be 1216.652710.