Category:Iteration: Difference between revisions

From Rosetta Code
Content added Content deleted
(Add page to "Flow control" category.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Basic language learning]]
[[Category:Basic language learning]]
Loops are [[control structure]]s 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 [[:Category:Conditional loops|conditional loops]]
Loops are [[:Category:Control Structures|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 [[:Category:Conditional loops|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 [[Loops/For|forloop]]s and [[Loops/Foreach|foreach]] loops. Tasks in this category show how iterative loops can be used to accomplish repetitive tasks.
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 [[Loops/For|forloop]]s and [[Loops/Foreach|foreach]] loops. Tasks in this category show how iterative loops can be used to accomplish repetitive tasks.


[[Category:Flow control]]
[[Category:Loops]]
[[Category:Loops]]
[[Category:Control Structures]]
[[Category:Solutions by Programming Task]]
[[Category:Solutions by Programming Task]]

Latest revision as of 10:07, 19 April 2024

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.