2つの数字を比較(1330)



Java 11
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);

        int a = in.nextInt();
        int b = in.nextInt();

        in.close();

        int c = a-b;
        
        System.out.println( (c > 0) ? ">" : (c < 0) ? "<" : "==" );

    }
}