in what ways does a switch statement differ from if statement ?
Answers
Answered by
1
The fundamental difference between if-else and switch statements is that the if-else statement “selects the execution of the statements based upon the evaluation of the expression in if statements”. The switch statements “selects the execution of the statement often according to a keyboard command
Similar questions
Math,
2 months ago
Social Sciences,
2 months ago
History,
4 months ago
Science,
11 months ago
Biology,
11 months ago