import java.util.*;
public class score1 {
public static void main(String[] args) {
int score;
System.out.println("请输入学生的成绩:");
Scanner input = new Scanner(System.in);
score = input.nextInt();
if (score >= 0 && score <= 100) {
int k = score / 10;
switch (k) {
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:
System.out.println("该学生的成绩为及格");
break;
default:
System.out.println("该学生的成绩为不及格");
}
}
}
}