Computer Science, asked by roxxblaze, 1 year ago

difference between if else and switch case statement​

Answers

Answered by DeepakFree
3

Explanation:

if statement decide whether to execute the statements inside if block or under else block. On the other hand, expression inside switch statement decide which case to execute. ... On the other hand, switch statement evaluates only character or a integer datatype.

Similar questions