Respuesta :

The expression following the word case in a switch statement must be an integer literal or constant.

What is switch statement?

A switch statement exists as a type of selection control mechanism used to permit the value of a variable or expression to modify the control flow of program execution via search and map. A switch statement stands for a control statement that manages a set of logic based on the result of a comparison between a controlling expression and the labels defined in the switch block.

Switch case statement evaluates a provided expression and based on the evaluated value(matching a certain condition), it manages the statements associated with it. It is utilized to perform various actions based on different conditions(cases).

Hence, The expression following the word case in a switch statement must be an integer literal or constant.

To learn more about switch statement refer to:

https://brainly.com/question/13741577

#SPJ4