본문 바로가기
코테/백준

백준 1330 JAVA

by Slow Motion~ 2023. 1. 2.
728x90
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		
	int a;
	int b;
	Scanner sc = new Scanner(System.in);
	a = sc.nextInt();
	b = sc.nextInt();
	if(a>b) {
		System.out.printf(">");
	}
	if(a<b) {
		System.out.println("<");
	}
	if (a==b){
		System.out.println("==");
	}
		
		sc.close();
	}

}

'코테 > 백준' 카테고리의 다른 글

백준 9498 JAVA  (0) 2023.01.02
백준 3003 JAVA  (0) 2022.12.22
백준 1001 JAVA  (0) 2022.12.21
백준 1000 JAVA  (0) 2022.12.21
백준 2557 JAVA  (0) 2022.12.21

댓글