Category:Iteration

From Rosetta Code
Revision as of 10:07, 19 April 2024 by Flexibeast (talk | contribs) (Add page to "Flow control" category.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Loops are control structures that allow sections of code to be executed repeatedly according to the controlling conditions of the loop. There are two types of loops: iterative loops and conditional loops

This category is about iterative loops. Iterative loop repeatedly execute a set of instructions as the iterator steps through a series of values. Types of iterative loops include forloops and foreach loops. Tasks in this category show how iterative loops can be used to accomplish repetitive tasks.