11.11
import java.util.Scanner;
public class test1 {
public static void main(String[] args) {
System.out.println("请输入1-100间整数:");
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
if(a >= 0 && a < 60){
System.out.println("不及格");
}else if(a == 60){
System.out.println("及格");
}else if(a > 60 && a <= 80){
System.out.println("中");
}else if(a > 80 && a <= 90){
System.out.println("良");
}else if(a > 90 && a <= 100){
System.out.println("优");
}else{
System.out.println("输入无效");
}
}
}