Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 7 - No. 37)
What is the purpose of the 'CASE OF' structure in an algorithm?
To repeat a set of instructions.
To select one of several options based on the value of an expression.
To check if a number is within a specific range.
To define the order of operations.
Explanation
The CASE OF structure helps select a specific action based on the value of a variable.
Comments (0)
