输入为多个很小的正整数,当输入为0时表示输入结束,输出为多行,每行对应一个输入数字的序数表。Sample Input1 2 3 4 5 10 11 12 13 14 0Sample Output1st 2nd 3rd 4th 5th 10th 11st 12nd 13rd 14th
10不行啊,10编译不出
if(last_num > 4 || last_num == 0)