Computer Science, asked by shivalisaini9643, 1 month ago

Is switch-case is better than nested if-else? If you are agree than explain how? Why
we use break in switch-case?

plz ans this que​

Answers

Answered by sakshamawasthi1000
5

A switch statement is usually more efficient than a set of nested ifs. ... Basically, an if else is used for taking a decisions while a switch statement is used to test the value of the given variable against a list of case value .

mark my answer brainliest

Similar questions