第6回では条件分岐(switch文)についての学習をしました。今回は繰り返し処理(for文、foreach文)について解説していきます。 繰り返し処理には、for文やwhile文などがあります。同じ処理を何度も繰り返す場合に使用することで、すっきりしたプログラムを記述 ...
Certain principles hold for the use of iterators: In general, you should be able to have multiple traversals in progress at the same time; that is, an iterator should allow for the concept of nested ...