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

In an algorithm, what do conditional statements primarily help with?
Repeating a set of instructions.
Executing different actions based on certain conditions.
Storing information.
Displaying information to the user.

Explanation

Conditional statements allow different actions to be taken depending on the truth or falsity of a condition.

Comments (0)

Advertisement