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 interest rate: Please enter the duration of the loan, in years: Month Principal Interest Balance ----- --------- --------- --------- 648 322.56 16.91 326.85 647 306.69 32.78 633.54 646 291.60 47.87 925.14 645 277.26 62.22 1202.40 644 263.62 75.86 1466.01 643 250.65 88.83 1716.66 642 238.31 101.16 1954.97 641 226.59 112.88 2181.56 640 215.44 124.03 2397.00 639 204.84 134.63 2601.85 638 194.76 144.71 2796.61 637 185.18 154.29 2981.79 636 176.07 163.40 3157.87 635 167.41 172.06 3325.27 634 159.17 180.30 3484.45 633 151.34 188.13 3635.79 632 143.90 195.58 3779.69 631 136.82 202.66 3916.50 630 130.09 209.39 4046.59 629 123.69 215.79 4170.27 628 117.60 221.87 4287.87 627 111.81 227.66 4399.69 626 106.31 233.16 4506.00 625 101.08 238.39 4607.09 624 96.11 243
JOJ Answer
Please enter the monthly payment: Please enter the interest rate: Please enter the duration of the loan, in years: Month Principal Interest Balance ----- --------- --------- --------- 648 322.77 16.70 322.77 647 306.89 32.58 629.66 646 291.79 47.68 921.46 645 277.44 62.04 1198.89 644 263.79 75.69 1462.68 643 250.81 88.66 1713.49 642 238.47 101.00 1951.96 641 226.74 112.73 2178.70 640 215.58 123.89 2394.28 639 204.98 134.50 2599.26 638 194.89 144.58 2794.15 637 185.30 154.17 2979.45 636 176.19 163.29 3155.64 635 167.52 171.95 3323.16 634 159.28 180.20 3482.44 633 151.44 188.03 3633.88 632 143.99 195.48 3777.87 631 136.91 202.57 3914.77 630 130.17 209.30 4044.95 629 123.77 215.71 4168.71 628 117.68 221.80 4286.39 627 111.89 227.59 4398.28 626 106.38 233.09 4504.66 625 101.15 238.32 46