█████████ ████ ███░░░░░███ ░░███ ███ ░░░ ██████ ███████ ██████ ██████ ░███ ███░░███ ███░░███ ███░░███ ███░░███ ░███ ░███ ░███░███ ░███ ░███████ ░███ ░███ ░░███ ███░███ ░███░███ ░███ ░███░░░ ░███ ░███ ░░█████████ ░░██████ ░░████████░░██████ ░░██████ ░░░░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░░

Envío 3037

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: juanboterog
  • Fecha: 2021-02-15 21:53:05 UTC (Hace alrededor de 3 años)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.149 s 15 KBi
#2
Correcto
0.145 s 16 KBi
#3
Correcto
0.149 s 15 KBi
#4
Correcto
0.156 s 16 KBi
#5
Correcto
0.151 s 16 KBi
#6
Correcto
0.168 s 16 KBi
#7
Correcto
0.157 s 16 KBi
#8
Correcto
0.16 s 16 KBi
#9
Correcto
0.155 s 16 KBi
#10
Correcto
0.14 s 15 KBi
Puntos totales: 100 / 100

Código

import java.util.Scanner;

class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        if (a < b) {
            System.out.println("<");
        } else if (a > b) {
            System.out.println(">");
        } else {
            System.out.println("=");
        }
    }
}