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 ----- --------- --------- --------- 528 3369.98 164.04 3370.64 527 3213.58 320.44 6584.22 526 3064.44 469.58 9648.66 525 2922.22 611.80 12570.89 524 2786.61 747.41 15357.49 523 2657.28 876.74 18014.77 522 2533.96 1000.06 20548.73 521 2416.36 1117.66 22965.09 520 2304.22 1229.80 25269.31 519 2197.28 1336.74 27466.60 518 2095.31 1438.71 29561.90 517 1998.07 1535.95 31559.97 516 1905.34 1628.68 33465.31 515 1816.91 1717.11 35282.22 514 1732.59 1801.43 37014.82 513 1652.18 1881.84 38667.00 512 1575.51 1958.51 40242.51 511 1502.39 2031.63 41744.90 510 1432.67 2101.35 43177.56 509 1366.18 2167.84 44543.74 508 1302.77 2231.25 45846.51 507 1242.31 2291.71 47088.83 506 1184.66 2349.36 48273.48 505 1129.68 2404.34 49403.16 504 1077.25 2456
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 ----- --------- --------- --------- 528 3370.01 164.01 3370.01 527 3213.61 320.41 6583.62 526 3064.47 469.55 9648.09 525 2922.25 611.77 12570.34 524 2786.63 747.39 15356.97 523 2657.31 876.71 18014.28 522 2533.98 1000.04 20548.26 521 2416.38 1117.64 22964.64 520 2304.24 1229.78 25268.88 519 2197.30 1336.72 27466.18 518 2095.33 1438.69 29561.51 517 1998.09 1535.93 31559.60 516 1905.36 1628.66 33464.95 515 1816.93 1717.09 35281.88 514 1732.61 1801.41 37014.49 513 1652.20 1881.82 38666.69 512 1575.52 1958.50 40242.21 511 1502.40 2031.62 41744.62 510 1432.68 2101.34 43177.29 509 1366.19 2167.83 44543.48 508 1302.79 2231.23 45846.27 507 1242.32 2291.70 47088.59 506 1184.67 2349.35 48273.26 505 1129.69 2404.33 494