Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 2 - No. 13)
What is the primary function of the 'ELSE' statement when used with an 'IF' condition?
To specify the action to take if the 'IF' condition is true.
To specify the action to take if the 'IF' condition is false.
To start a loop.
To end the 'IF' statement.
Explanation
The 'ELSE' statement provides the action to be taken when the 'IF' condition evaluates to false.
Comments (0)
