在 java上表示一个0到1000的数的个十百千位的和,程序一些好,但是输入1000的时候,会出来

2025-04-11 19:25:04
推荐回答(1个)
回答1:

number3是个位数字
number2是十位数字
number1是百位数字
那么千位数字呢?