package com.geminno.he0126;
public class Test06 {
public static void main(String[] args) {
int score = 86;
if (score == 100) {
System.out.println("你简直太厉害了!满分!!!");
}else if (score<100 && score>=90) {
System.out.println("哇,很优秀啊!");
}else if (score<90 && score >=80) {
System.out.println("成绩良好!");
}else if (score < 80 && score>=70) {
System.out.println("成绩中等!");
}else if (score < 70 && score>=60) {
System.out.println("成绩及格!");
}else {
System.out.println("成绩不及格!");
}
}
}
package com.geminno.he0126;
public class Test06 {
public static void main(String[] args) {
int score = 86;
if (score == 100) {
System.out.println("你简直太厉害了!满分!!!");
}else if (score<100 && score>=90) {
System.out.println("哇,很优秀啊!");
}else if (score<90 && score >=80) {
System.out.println("成绩良好!");
}else if (score < 80 && score>=70) {
System.out.println("成绩中等!");
}else if (score < 70 && score>=60) {
System.out.println("成绩及格!");
}else {
System.out.println("成绩不及格!");
}
}
}