Problem
My solution
1import java.util.Scanner;
2
3class Main {
4
5 public static void main(String[] args) {
6
7 int a, b, t;
8
9 Scanner sc = new Scanner(System.in);
10 t = sc.nextInt();
11 sc.nextLine();
12
13 while (t > 0) {
14 String temp = sc.nextLine();
15 String[] str_array = temp.split(" ");
16 a = Integer.parseInt(str_array[0]);
17 b = Integer.parseInt(str_array[1]);
18
19 if (a > b) {
20 System.out.println(">");
21 } else if (a < b) {
22 System.out.println("<");
23 } else {
24 System.out.println("=");
25 }
26 t--;
27 }
28 }
29}