Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 12 - No. 22)

In the `FOR...TO...NEXT` loop, what does the loop counter variable do?
Holds the total sum of all iterations.
Keeps track of the current iteration number.
Defines when the loop ends.
Stores a value.

Explanation

The counter variable tracks how many times the loop has executed.

Comments (0)

Advertisement