Write the use of switch...
Answers
Answered by
2
- If no break appears, the flow of control will fall through to subsequent cases until a break is reached. A switch statement can have an optional default case, which must appear at the end of the switch. The default case can be used for performing a task when none of the cases is true.
Answered by
15
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.
Similar questions
Math,
3 months ago
Social Sciences,
3 months ago
Physics,
6 months ago
Business Studies,
6 months ago
English,
11 months ago
Biology,
11 months ago