diff --git a/Ejercicio05.java b/Ejercicio05.java index 8bac5fb..41a1fe8 100644 --- a/Ejercicio05.java +++ b/Ejercicio05.java @@ -1,18 +1,19 @@ -import java.util.Scanner; -/** - * Ejercicio05 - */ -public class Ejercicio05 { - public static void main(String[] args) { - Scanner teclado = new Scanner(System.in); - System.out.println("Ingrese un numero"); - int numero = teclado.nextInt(); - teclado.close(); - if(numero%2 == 0){ - System.out.println("Es divisible entre 2"); - }else{ - System.out.println("No es divisible entre 2"); - } - } - -} \ No newline at end of file +import java.util.Scanner; +/** + * Ejercicio05 + */ +public class Ejercicio05 { + public static void main(String[] args) { + Scanner teclado = new Scanner(System.in); + System.out.println("Ingrese un numero"); + int numero = teclado.nextInt(); + teclado.close(); + if(numero%2 == 0){ + System.out.println("Es divisible entre 2"); + }else{ + System.out.println("No es divisible entre 2"); + } + } + +} +//mechague Excelente! \ No newline at end of file