View the step-by-step solution to:

Write a mortgage calculator PERL(.cgi) program that asks the user for the following information: Loan amount 2. Number of years 3.

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

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question