Use the formula to determine the total amount of payment

Assignment Help Programming Languages
Reference no: EM13935444

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

Reference no: EM13935444

Questions Cloud

Determine the n- and t-components of the force : Determine the n- and t-components of the force F which is exerted by the rod AB on the crank OA.
Process of collecting and assembling your portfolio : What are some of the supplies you need to begin the process of collecting and assembling your portfolio? Please explain
Biotechnology firm that is about to announce the results : Theorem Medical, is a biotechnology firm that is about to announce the results of its clinical trials of a potential new cancer drug. If the trials were successful, Theorem stock will be worth $65 per share. Based on the current share price, what sor..
Price per share if its equity cost of capital : Summit Systems will pay a dividend of $1.50 this year. If you expect Summit's dividend to grow by 6% per year, what is its price per share if its equity cost of capital is 11%?
Use the formula to determine the total amount of payment : If the loan was $20,000 over 15 years at 12 percent the repayment would be $240.08
What is the price per share if its equity cost of capital : NoGrowth Corporation currently pays a dividend of $2 per year, and it will continue to pay this dividend forever. What is the price per share if its equity cost of capital is 15% per year?
Prepare a production cost report for the month of august : Prepare a production cost report for the month of August.
What is expected capital gain rate-dividend yield : Axiom Corporation has a current price of $40, is expected to pay a dividend of $1 in one year, and its expected price right after paying that dividend is $42. What is Axiom's expected dividend yield? What is Axiom's expected capital gain rate?
What are key steps in the change process : When an action researcher is dealing with an organization that is under organized, what are key steps in the change process? Explain

Reviews

Write a Review

Programming Languages Questions & Answers

  What is a data flow diagram

Define what is meant by a process in a process model. How should a process be named? What information about a process should be stored in the CASE repository?

  Complete the systems administration scripting log

Complete the Systems Administration Scripting Log, As you complete each of the following steps, keep track of what occurs at each point, including what you type, the output given, and any errors experienced.

  Write a program to define constant

Display each of these constants in decimal, in hexadecimal, and as a character usingcout.

  Write a while and a do-while loop

Pick one or more examples from everyday life and write a WHILE and a DO-WHILE loop.

  The program should print out a total amount for the customer

Mike has a cellphone accessories shop that sells cases, memory cards, and headphones. He has a limited number of items that are available. He hired sales representatives to help him take the orders for these items. He finds that the sales represen..

  Design a gui that runs a simulink model

Use a numerical intergration to determine the distance x the airplane travels as a function of time. Make a plot of x versus time. Design a GUI that runs a Simulink model to solve questions (a) and (b).

  Two-dimensional array represent number of times bug reached

Two-dimensional array (N X M) must be utilized to represent number of times the bug reached each tile on floor. All cells of this array must be initialized to zero.

  Create class to include fields for length-width in inches

Create a class name Tape that includes fields for length and width in inches and properties for each field. Also include a ToString () method that returns a string constructed from the return value

  Display the sine cosine and tangent of the angle

Write a program that asks the user for an angle, entered in radians. The program should then display the sine, cosine, and tangent of the angle

  Create a class called date that includes 3 instance variable

Create a class called Date that includes 3 instance variables-a month (type int), a day (type int), and a year (type int). Provide a constructor that initializes the 3 instance variables and assumes the values provided are correct.

  Write down a function middlereverse which takes a lowercase

write a function middlereverse that takes a lowercase string as an argument and returns a lowercase string that is the

  Discuss why web services are important to web development

Discuss why Web services are important to Web development - find a Web service that you find interesting. Summarize and present it to the class

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd