Write a mortgage calculator perl


Write a mortgage calculator PERL(.cgi) program that asks the user for the following information:
1. Loan amount
2. Number of years
3. Percent per year compound interest
Use the following formula to determine the total amount of each payment:
n = months * 12
r = percent per year compound interest
L = loan amount
P = Lr(1+r/1200)^n/[1200{(1+r/1200)^n  -  1}]
The program must include a?
1. An array
2. A print function
3. One conditional component
4. One subroutine
Example:
If the loan was $20,000 over  15 years at 12 percent the repayment would be $240.08

Write a mortgage calculator PERL(.cgi) program that asks the user for
the following information:
Loan amount
Number of years
Percent per year compound interest
Use the following formula to determine the total amount of each payment:
n = months * 12
r = percent per year compound interest
L = loan amount
P = Lr(1+r/1200)^n/[1200{(1+r/1200)^n - 1}]
The program must include aâ?¦
An array
A print function
One conditional component
One subroutine
Example:
If the loan was $20,000 over 15 years at 12 percent the repayment would
be $240.08 

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a mortgage calculator perl
Reference No:- TGS0144967

Expected delivery within 24 Hours