package com.company;
import java.util.Scanner;
/**
-
@author FSX
-
@date 2021/3/22 9:31
*/
public class Main8 {
public static void main(String[] args) {
System.out.println(“欢迎进入游迷你戏平台”);
System.out.println(“");
System.out.println("\t\t1.斗地主");
System.out.println("\t\t2.王者荣耀");
System.out.println("\t\t3.刺激战场");
System.out.println("\t\t4.QQ飞车");
System.out.println("”);
Scanner scanner = new Scanner(System.in);
int count = scanner.nextInt();
switch(count) {
case 1:
System.out.println(“欢迎进入斗地主房间!”);
break;
case 2:
System.out.println(“欢迎来到王者荣耀,敌军还有三秒到达战场!”);
break;
case 3:
System.out.println(“欢迎进入刺激战场,特种兵请做好准备!”);
break;
case 4:
System.out.println(“亲爱的赛车手,欢迎你回来!”);
}}