📝 문제
🔓 답안
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n1 = sc.nextInt();
int n2 = sc.nextInt();
if(n1 > n2){
System.out.println(">");
}
else if(n1 < n2){
System.out.println("<");
}
else{
System.out.println("==");
}
sc.close();
}
}
🖤 알고리즘 분류
- 구현
'PS > Baekjoon' 카테고리의 다른 글
[Baekjoon] 10950 - A+B - 3 (0) | 2022.11.03 |
---|---|
[Baekjoon] 2739 - 구구단 (0) | 2022.11.03 |
[Baekjoon] 1000 - A+B (0) | 2022.11.02 |
[Baekjoon] 9498 - 시험 성적 (0) | 2022.11.02 |
[Baekjoon] 2557 - Hello World (0) | 2022.11.01 |
댓글