Built-in: LoanPayments.java

Screen Shot 2014-09-09 at 10.24.34 PM

Classwork:

Random Number Generator

Loan payments. Write a program, LoanPayments_YI.java
that calculates the monthly payments you would have to make over a given number of years to pay off a loan at a given interest rate compounded continuously, taking the number of years t, the principal P, and the annual interest rate r as command-line arguments. The desired value is given by the formula Pe^(rt). Use Math.exp().