Untitled
raw download clone
TEXT
views 7
,
size 230 b
public static char pedirChar(String texto) {
        
     Scanner sc = new Scanner (System.in);
     System.out.println(texto);
     char numero = sc.next().charAt(0);
     sc.nextLine();
     return numero;
        
}
close fullscreen
Login or Register to edit or fork this paste. It's free.