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 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 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 0.00 0.00 0.00 587 0.00 0.00 0.00 586 0.00 0.00 0.00 585 0.00 0.00 0.00 584 0.00 0.00 0.00 583 0.00 0.00 0.00 582 0.00 0.00 0.00 581 0.00 0.00 0.00 580 0.00 0.00 0.00 579 0.00 0.00
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