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

What does the CASE statement allow you to do in programming?
Repeat a set of instructions.
Perform different actions based on the value of a variable.
Take data from the user.
Display data on the screen.

Explanation

The CASE statement allows for different actions depending on the value of a variable.

Comments (0)

Advertisement