The switch statement is n selection control mechanism used to allow the value of the variable.