public class Test01{ public static void main(String arge[]){ int score=90; if(score>85 &am...
public class Test01{
public static void main(String arge[]){
int score=90;
if(score>85 && score<=100){
System.out.println("成绩为优");
}
else if(score>75 && score<=85){
System.out.println("成绩为良");
}
else if(score>60 && score<=75){
System.out.println("成绩为中");
}
else if(score<=60 && score>=0){
System.out.println("成绩为差");
}
else if(score>100 || score<0){
System.out.println("成绩不在正常的范围之内");
}
}
}
}
学员评论
河清海晏2015-04-10
你感兴趣的课程