(Compare loans with various interest rates) Rewrite Programming Exercise 4.21 to create a user interface, as shown in Figure 17.27. Your program should let the user enter the loan amount and loan period in the number of years from a text field, and it should display the monthly and total payments for each interest rate starting from 5 percent to 8 percent, with increments of one-eighth, in a text area.
Ref prb:
(Financial application: compare loans with various interest rates) Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5% to 8%, with an increment of 1/8. Here is a sample run:
For the formula to compute monthly payment, see Listing 2.8, ComputeLoan.java.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.