import java.util.Scanner;
public class Level {
public static void main(String[] args) {
// TODO Auto-generated method stub
short newGrade=0;
Scanner sc=new Scanner(System.in);
short grade=sc.nextShort();
switch(grade/10) {
case 10:
case 9:newGrade=1;break;
case 8:newGrade=2;break;
case 7:newGrade=3;break;
case 6:newGrade=4;break;
default:newGrade=5;
System.out.println(grade);
switch(grade) {
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;
}
}
}
}
袁慠棱
相关分类