import java.util.*;
public class ifs {
public static void main(String args[]){
Scanner in=new Scanner(System.in);
System.out.println("请输入成绩");
int A=in.nextInt();
if(A>=90){
System.out.println("优秀");
}
else if(A>80){
System.out.println("良好");
}
else if(A>=60){
System.out.println("及格了");
}
else if(A<60){
System.out.println("不及格");
}
System.out.println("结果");
}
}
时间: 2024-10-05 14:36:20