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	  5212.73	   314.77	  5115.35
527	  4910.56	   616.94	 10025.91
526	  4625.91	   901.59	 14651.82
525	  4357.76	  1169.74	 19009.58
524	  4105.15	  1422.35	 23114.73
523	  3867.18	  1660.32	 26981.91
522	  3643.01	  1884.49	 30624.93
521	  3431.84	  2095.66	 34056.76
520	  3232.90	  2294.60	 37289.66
519	  3045.50	  2482.00	 40335.16
518	  2868.96	  2658.54	 43204.12
517	  2702.65	  2824.85	 45906.78
516	  2545.99	  2981.51	 48452.76
515	  2398.40	  3129.10	 50851.17
514	  2259.37	  3268.13	 53110.54
513	  2128.40	  3399.10	 55238.94
512	  2005.03	  3522.47	 57243.97
511	  1888.80	  3638.70	 59132.77
510	  1779.31	  3748.19	 60912.08
509	  1676.17	  3851.33	 62588.25
508	  1579.01	  3948.49	 64167.25
507	  1487.47	  4040.03	 65654.73
506	  1401.25	  4126.25	 67055.98
505	  1320.02	  4207.48	 68376.00
504	  1243.50	  4284

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