Código
int edad = scaner.nextInt();
Si no me equivoco debería hacer esto
Código
int edad = scaner.nextInt(); scaner.nextLine();
Pero me gusta mas todo con nextLine y de ahí convierto todo a sus respectivos tipos.
Salu2 crack!!
|
|||
|
Tema destacado: Security Series.XSS. [Cross Site Scripting] |
|
|