Please write a program for the following: Fortran Negotiating a consumer loan is
ID: 3550499 • Letter: P
Question
Please write a program for the following: Fortran
Negotiating a consumer loan is not always straightforward. One form of loan is the discount installment loan, which works as follows. Suppose a loan has a face value of $1,000, the interest rate is 15%, and the duration is 18 months. The interest is computed by multiplying the face value of $1,000 by 0. 15 to yield $150. That figure is then multiplied by the loan period of 1. 5 years to yield $225 as the total interest owed. That amount is immediately deducted from the face value, leaving the customer with only $775. Repayment is made in equal monthly installments based on the face value. So the monthly loan payment will be $1,000 divided by 18, which is $55. 56. This method of calculation may not be too bad if the consumer needs $775, but the calculation is a bit more complicated if the consumer needs $1,000. Write a program that will take three inputs: The amount the consumer needs to receive. The interest rate, and The duration of the loan in months. The program should then calculate (and output) the face value required in order for the consumer to receive the amount needed. It should also calculate (and output) the monthly payment. The program should allow the user to run as many calculations as they wish. The program should also check the data to insure all inputs are greater than 0 (anything less than or equal to 0 should be rejected -- reject all three values if any are wrong, and get three new ones. ) As before, be sure to test all values AND make sure your handin contains all tests as well! Values to test:Explanation / Answer
Hi,
Your answer is here: http://pastebin.com/5uKHNmN2
Thanks