2023-04-18

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);

        int score = scanner.nextInt();

       

        String result = score < 60 ? "不及格" : "通过了考试";

        System.out.println(result);

    }

}

你可能感兴趣的:(2023-04-18)