answersLogoWhite

0


Best Answer

#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";

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a c-program to compute compound interest after accepting the principal amount rate and time from user?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Interest paid on both the principal and the interest on the principal is what?

Compound Interest


Which type of interest is calculated by adding the interest earned to the principal?

compound... yes it is compound interest.


Difference between simple and 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.


What is the value of compound interest?

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.


Which type of interest is calculated by adding the interest earnd to the principal?

compound


This type of interest is calculated by adding the interest earned to the principal.?

compound


What is the effect of compound interest?

The effect of compound interest is that interest is earned on the accrued interest, as well as the principal amount.


What is meant by the term compound interest?

Compound interest means that the amount of interest earned during a period increases the principal, which is then larger for the next interest period.


What is the principal of a compound interest?

Adding the interest to the original deposit accelerates the deposited value.


The difference between the simple and compound interest on a certain sum is Rs250 for two years at 5 percent Pa per annum Find the sum?

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


Concering compound interest as the amount of principal increase the amount of interest paid decreases?

false


How is interest different from compound interest?

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.