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

Envío 6793

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: Aaron Zuñiga
  • Fecha: 2022-12-03 05:21:16 UTC (Hace más de 1 año)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.135 s 13 KBi
#2
Correcto
0.124 s 13 KBi
#3
Correcto
0.102 s 13 KBi
#4
Correcto
0.129 s 13 KBi
#5
Correcto
0.136 s 13 KBi
#6
Correcto
0.138 s 13 KBi
#7
Correcto
0.105 s 13 KBi
#8
Correcto
0.103 s 13 KBi
#9
Correcto
0.134 s 13 KBi
#10
Correcto
0.115 s 13 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 if(a > b){
            System.out.println(">");
        }
    }
}