write a program to find simple interest and compound interest
Answers
Answered by
0
Explanation:
simple interest is calculate on the principle amount using the formula S.I.= (p*r*t)
and amount formula is (I*P)
(* that is a sign of multiply)
Answered by
4
Answer:
Simple Interest formula is p*t*r
printf("\nSimple interest = %.3f",si);
//Compound Interest formula is below
amount=p*pow((1 +r/100),t);
ci=amount-p;
printf("\nCompound interest = %.3f",ci);
Explanation:
ok please follow me deer and like me
Similar questions