#this program to calculate princple amount using perl.
print "enter the amount given;","\n";
$A=<stdin>;
print "enter the rate of interst given;","\n";
$R=<stdin>;
print "enter the no of years given;","\n";
$Y=<stdin>;
$o=1+$R;
$e=$o**$Y;
$t=1/$e;
$f=1-$t;
$p= $A*$f;
print "princple amount $p";
Compound Interest
compound... yes it is compound interest.
Simple interest is based on the original principle of a loan. Simple interest is generally used on short-term loans. Compound interest is interest added to the principal of a deposit or loan so that the added interest also earns interest from then on.
Compound interest increases the amount earned by adding credited interest to the principal, and interest will then be earned on that money as well. The longer the principal and interest remain in the account, the greater the earnings they will accrue.
compound
compound
The effect of compound interest is that interest is earned on the accrued interest, as well as the principal amount.
Compound interest means that the amount of interest earned during a period increases the principal, which is then larger for the next interest period.
Adding the interest to the original deposit accelerates the deposited value.
simple interst is when you earn interest from your principal but compound interest is when you earn interest from your principal as well as from your previous interest
false
Simple interest is interest paid on the original principle only, Compound interest is the interest earned not only on the original principal, but also on all interests earned previously.