Category:Conditional loops: Difference between revisions

From Rosetta Code
Content added Content deleted
m (and repeat loops)
m (internal links)
 
Line 3: Line 3:
This category is about conditional loops.
This category is about conditional loops.


Conditional loops test for conditions around the loop, and repeatedly executes a block of instructions whilst the condition is true. Types of conditional loops include [[Loops/Do-while|while]] loops, [[until]] loops, and [[repeat]] loops. Tasks in this category show how conditional loops can be used to accomplish repetitive tasks.
Conditional loops test for conditions around the loop, and repeatedly executes a block of instructions whilst the condition is true. Types of conditional loops include [[Loops/While|while]] loops, [[until]] loops, and [[Loops/Do-while|repeat]] loops. Tasks in this category show how conditional loops can be used to accomplish repetitive tasks.


[[Category:Control Structures]]
[[Category:Control Structures]]

Latest revision as of 05:45, 14 August 2011

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 conditional loops.

Conditional loops test for conditions around the loop, and repeatedly executes a block of instructions whilst the condition is true. Types of conditional loops include while loops, until loops, and repeat loops. Tasks in this category show how conditional loops can be used to accomplish repetitive tasks.

Pages in category "Conditional loops"

The following 4 pages are in this category, out of 4 total.