Computer Science for IGCSE & O level - Programming (Section 11 - No. 44)

What is the purpose of a 'loop' in programming?
To repeat a block of code multiple times.
To declare variables.
To display output to the user.
To organize code into functions.

Explanation

Loops allow a section of code to be executed repeatedly.

Comments (0)

Advertisement