Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Homework #1 (20 pts): JAVA Fundamentals What do I include as part of the solution? Algorithm (flowchart or pseudocode) - Include a legend of the
Homework #1 (20 pts): JAVA Fundamentals What do I include as part of the solution? Algorithm (flowchart or pseudocode) - Include a legend of the variables used as part of the solution JAVA source code (source.java) - Problem: Write a program to calculate a loan monthly payments. The monthly payment on a loan may be calculated by the following formula: Payment = Rate (1+Rate) (1 + Rate)N-1* Rate is the monthly interest rate, which is the annual interest rate (air) divided by 12 (In the formula use the value divide by 100. For example here air = 12%, rate is 12/12 = 1 and should be use 0.01 in the formulate for Rate). N is the number of payments in months, and L is the amount of the loan. Write a program that asks for the loan amount, annual interest rate (air), and the number of payments in years (then convert it to month to use it as part of the formula). The program will calculate and display the monthly payment, the amount paid back and the interest paid. Please, use the DecimalFormat class to format the program's output. Console Output Example: Loan Amount: $ 10,000.00 Annual Interest Rate: 12% Number of Payments: 3 years Monthly Payment: $332.14 Amount Paid Back: $ 11,957.15 Interest Paid: $ 1,957.15
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started