Difference between switch and if statements
Answers
Answered by
0
Answer:
SWITCH allows expression to have integer based evaluation while IF statement allows both integer and character based evaluation. ... SWITCH statement can be executed with all cases if the 'break' statement is not used whereas IF statement has to be true to be executed further.
Answered by
0
Answer:
SWITCH allows expression to have integer based evaluation while IF statement allows both integer and character based evaluation. ... SWITCH statement can be executed with all cases if the 'break' statement is not used whereas IF statement has to be true to be executed further
Explanation:
hoping so much this will help you
Similar questions
Math,
3 hours ago
Social Sciences,
3 hours ago
Math,
3 hours ago
Math,
5 hours ago
Physics,
8 months ago