difference between if else and switch case statement
Answers
Answered by
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