Computer Science for IGCSE & O level - Programming (Section 3 - No. 40)

What does a conditional statement (e.g., `IF-THEN-ELSE`) primarily do?
Repeat a block of code.
Define a new function.
Execute code based on a specific condition.
Create a user interface.

Explanation

Conditional statements allow code execution based on if a condition is true.

Comments (0)

Advertisement