Computer Science for IGCSE & O level - Programming (Section 8 - No. 9)

What is the primary purpose of a loop in programming?
To make the code more readable.
To execute a block of code repeatedly.
To declare variables.
To store data.

Explanation

Loops automate repetitive tasks.

Comments (0)

Advertisement