Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
Main.java:3: error: class HelloCodeo is public, should be declared in a file named HelloCodeo.java public class HelloCodeo { ^ 1 error |
||
#2 |
Error de compilación
Main.java:3: error: class HelloCodeo is public, should be declared in a file named HelloCodeo.java public class HelloCodeo { ^ 1 error |
||
#3 |
Error de compilación
Main.java:3: error: class HelloCodeo is public, should be declared in a file named HelloCodeo.java public class HelloCodeo { ^ 1 error |
||
#4 |
Error de compilación
Main.java:3: error: class HelloCodeo is public, should be declared in a file named HelloCodeo.java public class HelloCodeo { ^ 1 error |
||
#5 |
Error de compilación
Main.java:3: error: class HelloCodeo is public, should be declared in a file named HelloCodeo.java public class HelloCodeo { ^ 1 error |
||
#6 |
Error de compilación
Main.java:3: error: class HelloCodeo is public, should be declared in a file named HelloCodeo.java public class HelloCodeo { ^ 1 error |
||
#7 |
Error de compilación
Main.java:3: error: class HelloCodeo is public, should be declared in a file named HelloCodeo.java public class HelloCodeo { ^ 1 error |
||
#8 |
Error de compilación
Main.java:3: error: class HelloCodeo is public, should be declared in a file named HelloCodeo.java public class HelloCodeo { ^ 1 error |
||
#9 |
Error de compilación
Main.java:3: error: class HelloCodeo is public, should be declared in a file named HelloCodeo.java public class HelloCodeo { ^ 1 error |
||
#10 |
Error de compilación
Main.java:3: error: class HelloCodeo is public, should be declared in a file named HelloCodeo.java public class HelloCodeo { ^ 1 error |
import java.util.Scanner; public class HelloCodeo { public static void main(String[] args) { Scanner sc= new Scanner(System.in); int number1 = sc.nextInt(); int number2 = sc.nextInt(); if (number1 < number2) { System.out.println("<"); }else if (number1 > number2) { System.out.println(">"); }else { System.out.println("="); } } }