Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 13 - No. 27)

What is a common use of the IF-THEN-ELSE construct?
To define variables.
To repeat code.
To handle different situations based on a condition.
To output results.

Explanation

The IF-THEN-ELSE structure is used for conditional branching.

Comments (0)

Advertisement