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
Social Sciences,
5 months ago
Physics,
5 months ago
Computer Science,
10 months ago
Computer Science,
10 months ago
Science,
1 year ago
Chemistry,
1 year ago