Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 4 - No. 2)
What is the purpose of the 'FOR...TO...NEXT' loop structure?
To repeat a block of code until a condition becomes true.
To repeat a block of code a specific number of times.
To choose between different options.
To check the validity of data.
Explanation
The FOR...TO...NEXT loop is used for controlled iteration, repeating code a specific number of times.
Comments (0)
