Computer Science, asked by Manshi1111, 1 year ago

give two difference between the ''switch statement'' and the ''if else...... statement''

Answers

Answered by aeera123
8
Switch Case: ... But, the basic difference between switch case and else if ladder is that the switch case statement tests the value of variable or expression against a series of different cases or values, until a match is found. Then, the block of code with in thematch case is executed.
Similar questions