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

When using an `IF-ELSE` statement, what does the `ELSE` block contain?
Code to be executed if the `IF` condition is false.
The condition that is being checked.
Code to be executed if the `IF` condition is true.
The start of the program.

Explanation

The ELSE block executes when the condition in the IF statement is not met.

Comments (0)

Advertisement