A for loop is a control structure used by many programming languages to iterate over a range.It It is a way of repeating statements a number of times until the loop ends. Depending on the language this may be over a range of integers, iterators, etc.
Njol
- 3.3k
- 19
- 32
Added the line that mentions : "It is a way of repeating a statement a number of times until some way of ending the loop occurs"
Simeon Visser
- 121.9k
- 18
- 188
- 182
Added the line that mentions : "It is a way of repeating a statement a number of times until some way of ending the loop occurs"
Jhanvi
- 5.1k
- 9
- 33
- 41
ethrbunny
- 10.4k
- 9
- 75
- 141