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

What is the purpose of `Index <- Index + 1` within a loop?
To end the loop.
To initialize a variable.
To increment a counter.
To print a message.

Explanation

This instruction increases the value of the variable 'Index' by 1, which is used as a counter.

Comments (0)

Advertisement