Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 3 - No. 39)
What is the role of an 'IF' statement within an algorithm?
To repeat a set of instructions.
To display information to the user.
To make decisions based on conditions.
To receive input from the user.
Explanation
IF statements allow the algorithm to make choices based on the evaluation of a condition.
Comments (0)
