package com.task020201;
import java.util.Scanner;
public class Demo7 {
public static void main(String[] args) {
int bace = 0;
Scanner in = new Scanner(System.in);
System.out.println("请输入成绩");
int score = in.nextInt();
if (score > 100) {
System.out.println("上天了");
} else {
switch (score / 10) {
case 10:
System.out.println("太牛了");
break;
case 9:
System.out.println("优秀");
break;
case 8:
System.out.println("良好");
break;
case 7:
System.out.println("中");
break;
case 6:
case 5:
case 4:
case 3:
case 2:
case 1:
System.out.println("不及格");
break;
default:
System.out.println("输入错误");
break;
}
}
}
}