Computer Science for IGCSE & O level - Programming (Section 1 - No. 50)

What is the primary purpose of the `IF-THEN-ELSE` construct in programming?
To repeat a block of code.
To generate a series of random numbers.
To control the flow of execution based on a condition.
To define new variables.

Explanation

Control flow conditional execution.

Comments (0)

Advertisement