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

Envío 2422

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: wesly
  • Fecha: 2020-12-18 03:34:05 UTC (Hace más de 3 años)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.176 s 16 KBi
#2
Correcto
0.146 s 15 KBi
#3
Correcto
0.153 s 15 KBi
#4
Correcto
0.142 s 15 KBi
#5
Correcto
0.149 s 12 KBi
#6
Correcto
0.17 s 15 KBi
#7
Correcto
0.136 s 12 KBi
#8
Correcto
0.148 s 16 KBi
#9
Correcto
0.136 s 12 KBi
#10
Correcto
0.145 s 12 KBi
Puntos totales: 100 / 100

Código

import java.util.Scanner;

/**
 *
 * @author usuario
 */
public class Main {

    public static void main(String[] args) throws java.lang.Exception {
        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("=");            
        }
    }
}