Commit 557bfb70 by Marcos Echague

Update Ejercicio04.java

parent 5ee77d45
import java.util.Scanner; import java.util.Scanner;
/** /**
* Ejercicio04 * Ejercicio04
*/ */
public class Ejercicio04 { public class Ejercicio04 {
public static void main(String[] args) { public static void main(String[] args) {
Scanner teclado = new Scanner(System.in); Scanner teclado = new Scanner(System.in);
System.out.println("Ingrese su nombre"); System.out.println("Ingrese su nombre");
String nombre = teclado.nextLine(); String nombre = teclado.nextLine();
System.out.println("Bienvenido "+nombre); System.out.println("Bienvenido "+nombre);
teclado.close(); teclado.close();
} }
} }
\ No newline at end of file //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