Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
java-e001
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Juan Cristaldo
java-e001
Commits
4f7e2f08
Commit
4f7e2f08
authored
Sep 08, 2020
by
Juan Cristaldo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ejercicio 4 Realizado
parent
e72a00e6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
JavaApplication/src/javaapplication/Ejercicio04.java
+27
-0
No files found.
JavaApplication/src/javaapplication/Ejercicio04.java
0 → 100644
View file @
4f7e2f08
/*
* 4. Modifica la aplicación anterior, para que nos pida el nombre que queremos introducir.
*/
package
javaapplication
;
import
java.util.Scanner
;
/**
*
* @author Juan Cristaldo
*/
public
class
Ejercicio04
{
public
static
void
main
(
String
[]
args
)
{
// Se puede introducir cualquier nombre
Scanner
entrada
=
new
Scanner
(
System
.
in
);
System
.
out
.
println
(
"***Operaciones***"
);
System
.
out
.
println
(
"Ingrese su nombre"
);
String
nombre
=
entrada
.
nextLine
();
System
.
out
.
println
(
"Bienvenido "
+
nombre
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment