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
Pedro Rolon
java-e001
Commits
c2064bf4
You need to sign in or sign up before continuing.
Commit
c2064bf4
authored
Oct 10, 2018
by
Pedro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cambié una impresión en el ejercicio 9
parent
b63e6064
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Ejercicio09.java
+3
-2
No files found.
Ejercicio09.java
View file @
c2064bf4
...
@@ -22,7 +22,7 @@ public class Ejercicio09 {
...
@@ -22,7 +22,7 @@ public class Ejercicio09 {
for
(
int
i
=
0
;
i
<
2
;
i
++){
for
(
int
i
=
0
;
i
<
2
;
i
++){
if
(!
es_correcto
(
contrase
ñ
a
,
input
)){
if
(!
es_correcto
(
contrase
ñ
a
,
input
)){
System
.
out
.
print
(
"Vuelve a intentar:
"
);
System
.
out
.
print
ln
(
"Fallaste jaja!!
"
);
input
=
sc
.
nextLine
();
input
=
sc
.
nextLine
();
}
}
else
{
else
{
...
@@ -30,8 +30,9 @@ public class Ejercicio09 {
...
@@ -30,8 +30,9 @@ public class Ejercicio09 {
return
;
return
;
}
}
}
}
System
.
out
.
println
(
"Fallaste jaja!! "
);
System
.
out
.
println
(
"Fallaste jaja!!"
);
}
}
public
static
boolean
es_correcto
(
String
contrase
ñ
a
,
String
input
){
public
static
boolean
es_correcto
(
String
contrase
ñ
a
,
String
input
){
...
...
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