코딩 테스트/Python - 백준 단계별로 풀어보기
백준 1330번 자바 - 두 수 비교하기
kms152000
2024. 4. 4. 13:54
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int A = scanner.nextInt();
int B = scanner.nextInt();
System.out.println((A>B) ? ">" : ((A<B) ? "<" : "=="));
}
}