This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Check which button pressed and calculate monthly payment using monthlyPayment = balance * ((monthlyInterest * Math.pow(1.0 + monthlyInterest, months)) / (Math.pow(1.0 + monthlyInterest, months) - 1.0)); Display Payment Principal Interest Balance in paymentArea frame End On pressing close button...
View Full Document
This note was uploaded on 04/01/2012 for the course ECON 101 taught by Professor Doc during the Spring '11 term at Yale.
- Spring '11
- Interest Rates