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, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.

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 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 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 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 interest rate: Please enter the interest 

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
-----	---------	---------	---------
120	  8506.24	   571.27	  8506.24
119	  7970.92	  1106.59	 16477.17
118	  7469.30	  1608.21	 23946.46
117	  6999.24	  2078.27	 30945.70
116	  6558.76	  2518.75	 37504.45
115	  6146.00	  2931.51	 43650.45
114	  5759.22	  3318.29	 49409.67
113	  5396.78	  3680.73	 54806.45
112	  5057.15	  4020.36	 59863.60
111	  4738.89	  4338.62	 64602.48
110	  4440.66	  4636.85	 69043.14
109	  4161.20	  4916.31	 73204.34
108	  3899.32	  5178.19	 77103.66
107	  3653.93	  5423.58	 80757.60
106	  3423.98	  5653.53	 84181.58
105	  3208.50	  5869.01	 87390.08
104	  3006.58	  6070.93	 90396.66
103	  2817.37	  6260.14	 93214.03
102	  2640.07	  6437.44	 95854.10
101	  2473.92	  6603.59	 98328.02
100	  2318.23	  6759.28	100646.26
99	  2172.34	  6905.17	102818.60
98	  2035.63	  7041.88	104854.23
97	  1907.52	  7169.99	106761.