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

When would you use the FOR...TO...NEXT loop?
To repeat actions based on a condition.
When you need to repeat an action a set number of times.
When you need to check a value.
To take input from the user.

Explanation

The FOR...TO...NEXT loop is used to repeat code a specified number of times.

Comments (0)

Advertisement