package temp;
import java.util.Scanner;
public class Grade {
public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
System.out.println("输入一个整数:");
int num=scanner.nextInt();
if(num>=90 && num<=100)
System.out.println("优秀");
if(num>=80 && num<90)
System.out.println("良好");
if(num>=70 && num<80)
System.out.println("中等");
if(num>=60 && num<70)
System.out.println("合格");
if(num<60)
System.out.println("不合格");
}
}