difference between if else and swith case statement
Answers
Answered by
2
Answer:
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