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

Envío 4818

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: diezgo1008
  • Fecha: 2021-08-24 03:12:37 UTC (Hace más de 2 años)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.163 s 14 KBi
#2
Correcto
0.141 s 14 KBi
#3
Correcto
0.168 s 14 KBi
#4
Correcto
0.183 s 13 KBi
#5
Correcto
0.178 s 13 KBi
#6
Correcto
0.166 s 13 KBi
#7
Correcto
0.13 s 14 KBi
#8
Correcto
0.15 s 14 KBi
#9
Correcto
0.146 s 13 KBi
#10
Correcto
0.139 s 13 KBi
Puntos totales: 100 / 100

Código

import java.util.Scanner;


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