Two diff between switch case and if-else statement
Answers
Answered by
1
Answer:
Expression inside 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.
Explanation:
hope it helps you
Similar questions
Physics,
5 months ago
Computer Science,
5 months ago
Biology,
5 months ago
Computer Science,
9 months ago
Computer Science,
9 months ago
Science,
11 months ago
Chemistry,
11 months ago