Write a program that lets the user enter the loan

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:

Loan Amount: 10000 -Enter Number of Years: 5 PEnter Interest Rate Total Payment 11322.74 11357.13 11391.59 Monthly Payme

For the formula to compute monthly payment, see Listing 2.9, ComputeLoan.java.

1 import java.util.Scanner; 2 3 public class ComputeLoan { public static void main(String[] args) { // Create a Scanner

Members

  • Access to 2 Million+ Textbook solutions
  • Ask any question from 24/7 available
    Tutors
$9.99
VIEW SOLUTION

OR

Non-Members

Get help from Computer science Tutors
Ask questions directly from Qualified Online Computer science Tutors .
Best for online homework assistance.