题解 | #及格分数#
及格分数
http://www.nowcoder.com/practice/56513524333148b38945e1989bc7df4e
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(scan.hasNextInt()) {
Integer score = scan.nextInt();
if(score >= 60) {
System.out.println("Pass");
} else {
System.out.println("Fail");
}
}
}
}

查看19道真题和解析