Question: Create a C program that will calculate the interest paid on a loan. The equations we will use are: I[0] = (r/12)*B I[n] (r/12)*(B-P+I[n-1]) Where:

 Create a C program that will calculate the interest paid on

Create a C program that will calculate the interest paid on a loan. The equations we will use are: I[0] = (r/12)*B I[n] (r/12)*(B-P+I[n-1]) Where: r is the anual interest rate (assume 22% or 0.22). B is the amount borrowed (assume $5000). Pis the payment amount (pick some value). I[0] is the interest due after the first month. I[n] is the interest due after the nth month. Your program must prompt the user for the monthly payment that they wish to make. Your program must then display the interest rate (r), the initial balance (8), the monthly payment (P). Your program must then produce a month-by-month table showing the month, the interest due/paid each month and the remaining balance. The table must take the user to the payoff-point (where balance becomes zero or negative). Finally the program must display the total interest paid over the life of the loan. Example: Enter your monthly payment: 500 r = 0.22 B = 5000.0 P = 500.0 1 91.67 5000.00 2 84.18 4591.67 3 76.56 4175.85 4 68.79 3752.40 5 60.89 3321.20 6 52.84 2882.09 7 44.64 2434.93 8 36.29 1979.57 9 27.79 1515.86 10 19.13 1043.65

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!