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
World Languages,
1 month ago
Math,
1 month ago
Biology,
1 month ago
Physics,
3 months ago
Business Studies,
3 months ago
English,
9 months ago
Biology,
9 months ago