switch case is used like if and else, but more simple, because u just need to atribute values to the cases, like
case 1 (begins if choseen variable is equal to 1)
his sintaxe is;
switch(variable_name):
case 1{
command here
break;}
case 2{
command here
break;}