STRUCTURE CONDITIONAL
switch
A switch statement (multiple alternative) allows to select, by means of an expression, the next block of instructions to execute among several possible ones. In C language, the syntax is used to write a multiple alternative instruction (switch):
switch (<expression>) {
[break; ]
[break; ]
[break; ]
}
The result of evaluating the <expression> must be a value belonging to a finite and ordered type of data, that is, integer, logical, character, enumerated or subrange.