Iteration: Difference between revisions
From Coderwiki
More actions
new |
(No difference)
|
Revision as of 19:14, 9 August 2025
Iteration is essentially looping.
Loops generally involve repeating some code a certain number of times, or until a condition is met.
Types of iteration
There are two main forms of loops in programming languages:
- Count controlled: for loop
- Condition controlled: while loop