Switch case is similar to ------- statement
Answers
Answered by
13
Answer:
The switch statement is similar to a series of IF statements on the same expression
i hope it's helpful
Answered by
0
Switch case is similar to IF statement. A sequence of IF statements within the same expressions are analogous to the switch statement.
Switch case Vs If Statement :
- A sequence of IF statements within the same expressions are analogous to the switch statement.
- At sometimes, you'll want to evaluate a same variables to a number of different variables and perform a different piece of software depending on which number it equals.
- Integer, floating-point, characters, pointer, and Boolean data can all be evaluated with an if-else expression and they are also can be evaluated using a switch statement.
Similar questions
Chemistry,
27 days ago
World Languages,
27 days ago
Math,
1 month ago
Math,
9 months ago
Math,
9 months ago