difference between switch and if else statements?
Answers
Answered by
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
Math,
6 months ago
Math,
6 months ago
Math,
6 months ago
Science,
1 year ago
Physics,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago