Control structure
Control structure
language
Switch Case structure
Switch Case structure
The switch statement is a multiway branch statement. It provides an easy way to dispatch execution to different parts of code based on the value of the expression.