Skip to content

Commit 72efdee

Browse files
authored
Merge pull request #443 from ut-code/fix-typo-in-loop-section
Fix typo from 「`while`」 to 「`while` 文」
2 parents 36f382e + 828add3 commit 72efdee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/1-trial-session/08-loop/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ for (初期化; 条件式; 更新式) {
125125
}
126126
```
127127

128-
`while` と構造が似ていますが`条件式`のほかに`初期化``更新式`が加えられています。通常、繰り返しを扱うプログラムでは、`while` の例における変数 `i` のように、一番はじめに現在の繰り返し回数を表す変数を用意し、ループの終わりでその変数を更新します。
128+
`while` 文と構造が似ていますが`条件式`のほかに`初期化``更新式`が加えられています。通常、繰り返しを扱うプログラムでは、`while` 文の例における変数 `i` のように、一番はじめに現在の繰り返し回数を表す変数を用意し、ループの終わりでその変数を更新します。
129129

130130
これらをより便利に記述できるのが `for` 文、というわけです。
131131

0 commit comments

Comments
 (0)