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

Envío 2963

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: davidtoca
  • Fecha: 2021-02-12 23:25:43 UTC (Hace alrededor de 3 años)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.159 s 15 KBi
#2
Correcto
0.152 s 15 KBi
#3
Correcto
0.154 s 14 KBi
#4
Correcto
0.144 s 16 KBi
#5
Correcto
0.15 s 16 KBi
#6
Correcto
0.151 s 15 KBi
#7
Correcto
0.156 s 15 KBi
#8
Correcto
0.136 s 16 KBi
#9
Correcto
0.15 s 16 KBi
#10
Correcto
0.144 s 16 KBi
Puntos totales: 100 / 100

Código

import java.util.Scanner;

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("<");
        }
    }
}