Skip to content · ⁨コンテンツへスキップ⁩

Strings and nested loops · ⁨文字列とネストループ⁩

English

Strings and nested loops

  • A String is a row of characters, each with a position (an index).
  • The first index is 0, and the last is length() - 1.
  • In this lesson you walk through a String one character at a time, and put loops inside loops.
日本語

Stringとネストループ

  • String は文字の羅列であり、各文字には位置(インデックス)があります。
  • 最初のインデックスは 0 、最後のインデックスは length() - 1 です。
  • このレッスンでは、Stringを1文字ずつ順にたどり、ループをループの中に組み込みます。

Handout · ⁨プリント⁩

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP