回答編集履歴
2
テキスト修正
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
while (n <= 100) {
|
20
20
|
|
21
|
-
a[(n-1) % 10] =
|
21
|
+
a[(n-1) % 10] = String.format("%2d", n);
|
22
22
|
|
23
23
|
if (n % 10 == 0) {
|
24
24
|
|
1
テキスト修正
test
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
if (n % 10 == 0) {
|
24
24
|
|
25
|
-
System.out.println(String.join("
|
25
|
+
System.out.println(String.join(" ", a));
|
26
26
|
|
27
27
|
}
|
28
28
|
|