Computer Science, asked by Anonymous, 5 hours ago

Difference between switch and if statements​

Answers

Answered by dollykumari66ranchi
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 Canttellname1006
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