switch (key) { case 0:{ //do something with the First choise } case 1:( //do something with the Second choise } case 2:{ //do something with the Third choise } case 3: { // 4 //do something with the last choise }
//do something with the First choise