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
Hugo Villagra
java-e001
Commits
63ea9b89
Commit
63ea9b89
authored
Oct 12, 2018
by
Marcos Echague
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Ejercicio08.java
parent
8dcb1b10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
18 deletions
+19
-18
Ejercicio08.java
+19
-18
No files found.
Ejercicio08.java
View file @
63ea9b89
import
java.util.Scanner
;
import
java.util.Scanner
;
/**
/**
* Ejercicio08
* Ejercicio08
*/
*/
public
class
Ejercicio08
{
public
class
Ejercicio08
{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
int
numero
=
30
;
int
numero
=
30
;
Scanner
teclado
=
new
Scanner
(
System
.
in
);
Scanner
teclado
=
new
Scanner
(
System
.
in
);
do
{
do
{
System
.
out
.
println
(
"Ingrese el numero"
);
System
.
out
.
println
(
"Ingrese el numero"
);
numero
=
teclado
.
nextInt
();
numero
=
teclado
.
nextInt
();
}
while
(
numero
<
0
);
}
while
(
numero
<
0
);
System
.
out
.
println
(
"El numero es "
+
numero
);
System
.
out
.
println
(
"El numero es "
+
numero
);
teclado
.
close
();
teclado
.
close
();
}
}
}
}
\ No newline at end of file
//mechague Excelente!
\ No newline at end of file
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