import java.util.Scanner;
public class TouchType {
public static void main(String args[]) {
int score=50;
Scanner sc=new Scanner(System.in);
while(sc.hasNextInt()){
score=sc.nextInt();
if(score<15)
System.out.println("不及格");
else if (score<30)
System.out.println("及格");
else if(score>30)
System.out.println("优秀");
}
}
}
第4周作业-打字成绩判断程序
最新推荐文章于 2022-03-13 16:53:59 发布