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 test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Please enter the test choice: Plea

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
-----	---------	---------	---------
108	    38.73	     2.70	    38.73
107	    36.20	     5.23	    74.93
106	    33.84	     7.59	   108.77
105	    31.63	     9.80	   140.40
104	    29.57	    11.87	   169.97
103	    27.64	    13.80	   197.61
102	    25.83	    15.60	   223.44
101	    24.15	    17.29	   247.59
100	    22.57	    18.86	   270.16
99	    21.10	    20.33	   291.26
98	    19.72	    21.71	   310.98
97	    18.43	    23.00	   329.41
96	    17.23	    24.20	   346.64
95	    16.11	    25.33	   362.75
94	    15.06	    26.38	   377.81
93	    14.07	    27.36	   391.88
92	    13.15	    28.28	   405.03
91	    12.30	    29.14	   417.33
90	    11.49	    29.94	   428.83
89	    10.74	    30.69	   439.57
88	    10.04	    31.39	   449.61
87	     9.39	    32.05	   459.00
86	     8.77	    32.66	   467.77
85	     8.20	    33.23	   475.98
84