回答編集履歴
1
ぼけ
answer
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
```
|
2
2
|
int n=0;
|
3
|
-
while (
|
3
|
+
while (++n<=100)
|
4
|
-
System.out.
|
4
|
+
System.out.printf("%4d"+(n%10==0?"%n":""),n);
|
5
5
|
```
|
6
6
|
|
7
7
|
字合わせ4桁で10の倍数出力するときは改行を入れる、
|