CS11a: Intro to Programming in Java and C
HW1

· General Information

· Notes

  (printable)

 

HW1

Due: Tuesday 6/2/2009. (10 points) Modify the "Triangle" program or the "Quadratic" program to create a new "Loan.java" program which takes three values: the principal, the annual interest rate, and the number of months to pay back the loan. The program should compute the monthly loan amount using an appropriate formula.
Note: here is a link to a page showing all of the Math functions in Java: java.lang.Math
2009 © Copyright Tim Hickey, Some Rights Reserved