Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

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	  5194.41	   333.09	  5413.00
527	  4893.31	   634.19	 10306.31
526	  4609.65	   917.85	 14915.96
525	  4342.45	  1185.05	 19258.41
524	  4090.72	  1436.78	 23349.13
523	  3853.60	  1673.90	 27202.73
522	  3630.21	  1897.29	 30832.94
521	  3419.78	  2107.72	 34252.72
520	  3221.54	  2305.96	 37474.26
519	  3034.80	  2492.70	 40509.06
518	  2858.88	  2668.62	 43367.94
517	  2693.16	  2834.34	 46061.10
516	  2537.04	  2990.46	 48598.14
515	  2389.98	  3137.52	 50988.12
514	  2251.44	  3276.06	 53239.55
513	  2120.93	  3406.57	 55360.48
512	  1997.98	  3529.52	 57358.46
511	  1882.16	  3645.34	 59240.62
510	  1773.06	  3754.44	 61013.68
509	  1670.28	  3857.22	 62683.96
508	  1573.46	  3954.04	 64257.42
507	  1482.25	  4045.25	 65739.66
506	  1396.33	  4131.17	 67135.99
505	  1315.38	  4212.12	 68451.37
504	  1239.14	  4288

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	  5207.09	   320.41	  5207.09
527	  4905.24	   622.26	 10112.33
526	  4620.90	   906.60	 14733.23
525	  4353.04	  1174.46	 19086.27
524	  4100.70	  1426.80	 23186.97
523	  3863.00	  1664.50	 27049.97
522	  3639.07	  1888.43	 30689.03
521	  3428.12	  2099.38	 34117.15
520	  3229.40	  2298.10	 37346.56
519	  3042.20	  2485.30	 40388.76
518	  2865.85	  2661.65	 43254.61
517	  2699.73	  2827.77	 45954.34
516	  2543.23	  2984.27	 48497.57
515	  2395.81	  3131.69	 50893.37
514	  2256.93	  3270.57	 53150.30
513	  2126.10	  3401.40	 55276.40
512	  2002.85	  3524.65	 57279.25
511	  1886.75	  3640.75	 59166.01
510	  1777.38	  3750.12	 60943.39
509	  1674.35	  3853.15	 62617.75
508	  1577.30	  3950.20	 64195.04
507	  1485.86	  4041.64	 65680.91
506	  1399.73	  4127.77	 67080.64
505	  1318.59	  4208.91	 683