Commit 557bfb70 by Marcos Echague

Update Ejercicio04.java

parent 5ee77d45
import java.util.Scanner;
/**
* Ejercicio04
*/
public class Ejercicio04 {
public static void main(String[] args) {
Scanner teclado = new Scanner(System.in);
System.out.println("Ingrese su nombre");
String nombre = teclado.nextLine();
System.out.println("Bienvenido "+nombre);
teclado.close();
}
}
\ No newline at end of file
import java.util.Scanner;
/**
* Ejercicio04
*/
public class Ejercicio04 {
public static void main(String[] args) {
Scanner teclado = new Scanner(System.in);
System.out.println("Ingrese su nombre");
String nombre = teclado.nextLine();
System.out.println("Bienvenido "+nombre);
teclado.close();
}
}
//mechague Excelente!
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment