Computer Science for IGCSE & O level - Programming (Section 13 - No. 39)

What does a "For" loop usually require?
A start value, an end value, and an increment/decrement.
A list of values.
An infinite number of iterations.
Only a start value.

Explanation

For loops are defined by their starting value, ending value, and the step (increment/decrement) to reach the end value.

Comments (0)

Advertisement