Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the interest rate: Please enter the duration of the loan, in years: Month Principal Interest Balance ----- --------- --------- --------- 107184 12.00 99988.42 12.00 107183 0.00 100000.42 12.00 107182 0.00 100000.42 12.00 107181 0.00 100000.42 12.00 107180 0.00 100000.42 12.00 107179 0.00 100000.42 12.00 107178 0.00 100000.42 12.00 107177 0.00 100000.42 12.00 107176 0.00 100000.42 12.00 107175 0.00 100000.42 12.00 107174 0.00 100000.42 12.00 107173 0.00 100000.42 12.00 107172 0.00 100000.42 12.00 107171 0.00 100000.42 12.00 107170 0.00 100000.42 12.00 107169 0.00 100000.42 12.00 107168 0.00 100000.42 12.00 107167 0.00 100000.42 12.00 107166 0.00 100000.42 12.
JOJ Answer
Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the duration of the loan, in years: Please enter the duration of the loan, in years: Please enter the duration of the loan, in years: Please enter the duration of the loan, in years: Month Principal Interest Balance ----- --------- --------- --------- 588 8411.38 520.94 8411.38 587 7920.81 1011.51 16332.19 586 7458.86 1473.46 23791.05 585 7023.85 1908.47 30814.90 584 6614.21 2318.11 37429.11 583 6228.46 2703.86 43657.57 582 5865.21 3067.11 49522.78 581 5523.14 3409.18 55045.92 580 5201.03 3731.29 60246.95 579 4