Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Indefinite iteration: Difference between revisions

From Coderwiki
new: info, examples, definite
 
(No difference)

Latest revision as of 09:24, 15 August 2025

Indefinite iteration is where a code block is repeated an unknown number of times.

It is generally condition controlled, meaning the code will repeat until a condition returns false.

Examples of indefinite iteration

edit edit source

Definite iteration

edit edit source

Indefinite iteration is the opposite of definite iteration.

See: Definite iteration