일상

1330 : 두 수 비교하기

STUDYING,,, 2021. 7. 23. 20:01
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		
		if(A>B) System.out.println(">");
		else if(A<B) System.out.println("<");
		else System.out.println("==");

	}
}

'일상' 카테고리의 다른 글

2753 : 윤년  (0) 2021.07.23
9498 : 시험 성적  (0) 2021.07.23
10998 : A * B  (0) 2021.07.23
10869 : 사칙연산  (0) 2021.07.23
10718 : We love kriii  (0) 2021.07.23