Computer Science, asked by balad6392, 1 year ago

difference between switch and if else statements?

Answers

Answered by sparsh84
1

If and else statements are used to set a condition whereas switch is used to control the flow of our program based on the value of a variable or an expression.

Please Mark as brainliest .

Hope it helps you .

Similar questions