Computer Science, asked by tuni18, 1 year ago

what is purpose of switch statement in a program.

Answers

Answered by alok7834
3

In computer programming languages, a switch statement is a type of selection control mechanism used to allow the value of a variable or expression to change the control flow of program execution via search and map.

Answered by MrTSR
8

Switch statement is a selection statement that allows for the transfer of program control to a statement list with a switch label that corresponds to the value of the switch expression.

Similar questions