Computer Science for IGCSE & O level - Programming (Section 11 - No. 5)

What does the step value of a FOR loop determine?
The starting value of the loop variable.
The ending value of the loop variable.
The increment or decrement applied to the loop variable in each iteration.
The total number of iterations.

Explanation

The step specifies how the loop variable changes (increases or decreases) in each repetition.

Comments (0)

Advertisement