多重选择: switch 语句 int choice = 5; switch (choice) { case 1: ... break; case 2: ... break; case 3: ... break; default: // bad input ... break; }