javaCopy public class Digits { static int count_digit(int x) { int count = 0; while (x != 0) { x = x / 10; ++count; } return count; } ...
確定! 回上一頁