The switch statement is an alternative to if/else conditional construct (commonly called a “case statement”) and may make the program more readable when handling multiple options.
You must log in or register to comment.
The switch statement is an alternative to if/else conditional construct (commonly called a “case statement”) and may make the program more readable when handling multiple options.