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

Which of the following is a reason to use the CASE statement?
To implement a repeating action
To provide different action based on one variable's value
To check if a condition is true
To take one action if it's not true

Explanation

The CASE statement provides different actions based on the variable's value

Comments (0)

Advertisement