importjava.util.Scanner;/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. *//** * * @author user */publicclassEjercicio05{publicstaticvoidmain(String[]args){Scannersc=newScanner(System.in);System.out.print("Introduzca un número para saber si es divisible"+" entre 2: ");intn=sc.nextInt();System.out.println("");if(n%2==0){System.out.println("Es divisible entre 2!");}else{System.out.println("No es divisible entre 2!");}}}