Computer Science, asked by robinrajawat1, 16 days ago

state two difference & two similarities between 'if' & 'Switch Case'.​

Answers

Answered by itsmerockingrock
1

Answer:

The switch statement evaluates characters and integers. If the condition of if block is false, the statements inside the else block will execute. In switch, if none of the case statements match, the default statements will execute. The if else check the equality and logical expressions.

Similar questions