Question: Write a Program to create a table containing a customized loan amortization table. Your program will prompt the user to enter the amount borrowed (the

 Write a Program to create a table containing a customized loan

Write a Program to create a table containing a customized loan amortization table. Your program will prompt the user to enter the amount borrowed (the principal), the annual percentage rate of charge (APR) that describes the annual interest rate (format: 5.05 is 5.5%), and the number of monthly payments (n). To calculate the monthly payment, use the following formula: payment = iP/1 - (1 + i)^-n where P is the initial principal amount i is the monthly interest rate (1/12 of the APR) n is the total number of payments(payment periods) Note that this payment must be rounded to the nearest cent. After the payment has been rounded to the nearest cent, the program will create a table that looks like the following. Sample Output: Principal: 1000.00 Annual Interest Rate: 9.00 Tens in month: 6 Monthly Payment: exist171.07 Payment Interest Principal Balance 1 exist7.50 exist163.57 exist836.43 2 exist6.27 exist164.80 exist671.63 3 exist5.04 exist166.03 exist505.60 4 exist3.79 exist167.28 exist338.32 5 exist2.54 exist168.53 exist169.79 6 exist1.27 exist169.79 exist0.00 Final Payment: exist171.06 Each month, part of the payment is applied to tire interest and tin- rest is applied to the principal. Because the payment and each month's interest rate are rounded the final payment will be a bit different and must be calculated as the sum of the final interest payment and the final principal balance

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!