CPSC 120 Postlab 5: Mortgage Calculator
Due Before Class on Monday October 10

The CS Bank International has asked you write a program to simplify the job of their mortgage loan officers. The program will be used to calculate the interest rate and monthly payments of customers of who would like a loan to buy a house. The program should take as input the the cost of the house the customer would like to buy, the down payment on the house the customer plans to make, and the customer's yearly salary. The program should then compute the interest rate and monthly payment of both a 15 year and a 30 year loan. The program should print only the loans that the customer qualifies for and the total cost of the house if only minimum payments are made. These can be computed using the following rules: The program's output should look similar to the following.
         CS Bank International Mortgage Calculator
         =========================================

         Enter house cost:      $100000
         Enter down payment:    $10000
         Enter yearly income:   $18000
	 ------------------------
	 You qualify for a 30 year mortgage with monthly payments of $539.59.
	 If you make only minimum payments, the total cost of the house will be $204254.37.

If the customer qualifies for both a 15 and 30 year mortgage, it should print information about both. If the customer does not qualify for a mortgage, it should print out why (either the down payment is not enough, or yearly income is not enough). The dollar amounts should be printed using the NumberFormat class.

Other Requirements

Submission

To submit your code, create a zip file named YourLastName.zip and upload the zip file to the course Inquire site.