9.17 Develop a GUI application whose purpose is to compute the monthly mortgage payment given a loan amount (in S), the interest rate (in qc), and the loan term (i.e., the number of months that it will take to repay the loan). The GUI should have three labels and three entry boxes for users to enter this information. It should also have a button labeled
- Compute mortgage that, when clicked, should compute and display the monthly mortgage in a
fourth entry box.
The monthly mortgage m is computed from the loan amount a, interest rate r, and loan
terms t as:
where c
ax c x (1
r/1200.
Reviews
There are no reviews yet.