2019年04月12日
for文をwhile文に書き換えてみよう!答え
for文をwhile文に書き換えてみよう!の答え。
class Demo {
public static void main(String[] args) {
int i = 0;
while(i < 10) {
System.out.print(i + " ");
i++;
}
}
}
===== 実行結果 =====
0 1 2 3 4 5 6 7 8 9
====================
† 地球の末路!? †
class Demo {
public static void main(String[] args) {
int i = 0;
while(i < 10) {
System.out.print(i + " ");
i++;
}
}
}
===== 実行結果 =====
0 1 2 3 4 5 6 7 8 9
====================
† 地球の末路!? †
【このカテゴリーの最新記事】
-
no image
-
no image
posted by 得ナビ8!おまんこっちんこうし at 00:00
| プログラミング(Java)