Question: PLEASE CODE THIS IN JAVA AND PLEASE TYPE OUT THE CODE FOR YOUR ANSWER Monthly Payments The monthly payment on a loan may be calculated

PLEASE CODE THIS IN JAVA AND PLEASE TYPE OUT THE CODE FOR YOUR ANSWER
Monthly Payments The monthly payment on a loan may be calculated by the following formula: rate is the monthly interest rate (which is the annual interest rate divided by 12. Ex: 12% annual interest rate is 1% monthly interest rate). N is the number of payments and Lis the amount of the loan. Write a program (using better variable names) that asks for these values (annual interest rate, number of payments, amount of loan) and displays a report as follows: $ 10000.00 1% 36 Loan Amount: Monthly Interest Rate: Number of Payments: Monthly Payment: Amount Paid Back: Interest Paid: $ 332.14 $ 11957.15 $ 1957.15 Note the alignment of the values, dollar signs, etc. A good way to tackle this problem is to break down each of the parts above to figure out the stream manipulators to use. Rate is monthlyRate/100 1% - becomes 0.01 https://en.wikipedia.org/wiki/Mortgage calculator e P r(1+r) (1 + r) - 1 1-(1+r)- Cis Monthly Payment Pis Loan Maount N is number of payments r is rate (1 % Per Month is 0.01)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
