package chp1; import java.util.Scanner; public class FuWa { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); switch(n){ case 1: System.out.println("贝贝");break; case 2: System.out.println("晶晶");break; case 3: System.out.println("欢欢");break; case 4: System.out.println("迎迎");break; case 5: System.out.println("妮妮");break; default: System.out.println("北京欢迎你"); } } }
by: 发表于:2017-07-13 10:59:12 顶(0) | 踩(0) 回复
??
回复评论