for文におけるループ回数
1.目的
以下のような表示をさせたい。(5回同じことを表示している)
A child says, "The king is naked." A child says, "The king is naked." A child says, "The king is naked." A child says, "The king is naked." A child says, "The king is naked." |
2.さまざまな表現
For文でも,いろいろな表現方法がある。これらはすべて5回の繰り返しである。
どうしてどれも5回の繰り返しになるのか考えなさい。
#include <stdio.h> int main() |
#include <stdio.h> int main() |
#include <stdio.h> int main() |