1. Engineering
  2. Computer Science
  3. no service 823 am back assignment 03docx cop2800c java programming...

Question: no service 823 am back assignment 03docx cop2800c java programming...

Question details

No Service 8:23 AM Back Assignment 03.docx COP2800C Java Programming Assignment #3 (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 the formula to compute monthly payment: M-(P r)(1- Math.pow (1.0+r,n-12.0) P Principle, r- rate per period n number of periods *Sample Output Enter loan amount, for example 120000.95: 10000 Enter number of years as an integer, for example, 5: 3 Interest Rate Monthly Payment Total Payment 5.000% SI 25% 5.250% 5.375% 5.500% 5.625% 5.750% 5.875% 6.000% 6125% 6.250% 6.375% 6.500% 6.625% 6.750% 6.875% 7.000% 7.125% 7.250% 7 .375% 299.71 300.27 300.83 301.40 301.96 302.52 303.09 303.65 304.22 304.79 305.35 305.92 306.49 307.06 307.63 308.20 308.77 309.34 309.92 310.49 10789.52 10809.74 10829.98 10850.24 10870.52 10890.83 10911.16 10931.52 10951.90 10972.30 10992.72 11013.17 11033.64 11054.13 11074.65 11095.19 15.75 11136.34 11156.95 1177.58 Dashboard Calendar To Do Notifications Inbox
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution