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
Accountancy,
6 months ago
Hindi,
6 months ago
Computer Science,
1 year ago
Science,
1 year ago
Chemistry,
1 year ago