java输入成绩,判断多少分
java.util.Scanner s = new java.util.Scanner(System.in);int n = s.nextInt();String str = "不及格";if(n < 0 || n > 100){ str = "成绩不合法!!!";} else if(n <= 60){ str = "不及格";} else if(n <= 80){ str = "良好";} else if(n <= 90){ str...
复制链接