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

Which of the following describes the action taken when an 'IF' statement's condition is true?
The code within the 'ELSE' block is executed.
The code within the 'THEN' block is executed.
The program terminates.
The program continues to the next line of code.

Explanation

When the IF condition is true, the code within the THEN block is executed.

Comments (0)

Advertisement