Computer Science, asked by mtsrexlen, 7 months ago

Discuss in detail about Switch statement with an example.​

Answers

Answered by yesiamin6
1

Answer:

A switch case statement is a multi-way decision statement that is a simplified version of an if-else block that evulates only one variable. And the difference between the switch and if-else is in if-else it checks all the conditions till the condition is true but in switch it only execute the case which is true and exit from the block

Explanation:

For more information the syntax and flow chart will be sent to you

DO FOLLOW FOR MORE INFORMATION ABOUT PROGRAMMING

MARK AS BRAINLIEST

Attachments:
Similar questions