Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 7 - No. 21)
In a typical `FOR...TO...NEXT` loop, what determines the total number of iterations?
The condition within the loop.
The starting, ending, and step values of the loop counter.
The value of the counter at each iteration.
The number of statements within the loop's body.
Explanation
The number of iterations depends on the start, end, and increment (or decrement) of the counter variable.
Comments (0)
