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
e72a00e6
Commit
e72a00e6
authored
Sep 08, 2020
by
Juan Cristaldo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ejercicio 3 Realizado
parent
811c7df0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
JavaApplication/src/javaapplication/Ejercicio03.java
+28
-0
No files found.
JavaApplication/src/javaapplication/Ejercicio03.java
0 → 100644
View file @
e72a00e6
/*
* 3. Declara un String que contenga tu nombre, después muestra un mensaje de bienvenida
* por consola. Por ejemplo: si introduzco “Fernando”, me aparezca “Bienvenido Fernando”.
*/
package
javaapplication
;
import
java.util.Scanner
;
/**
*
* @author Juan Cristaldo
*/
public
class
Ejercicio03
{
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();
String
nombre
=
"Juan Cristaldo"
;
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