switch
The switch statement is C++’s multiway branch statement.
It provides an easy way to dispatch execution to different parts of your code based on the value of an integer expression.
If often provides a better alternative than a large series of if-then-else statements.