Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com

Switch statement

Easy
0/10

Problem statement

The advantage of the ‘switch’ statement over ‘if’ is that it leads to a more structured program.

Switch statement
Options: Pick one correct answer from below