Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
java-e003-generala
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
Jose Baez
java-e003-generala
Commits
03c1770d
Commit
03c1770d
authored
Apr 25, 2022
by
Jose Baez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Se realiza cambio de reglas de validadacion para escalera
parent
cbe23ab0
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
8 deletions
+6
-8
.idea/misc.xml
+2
-1
out/production/java-e003-generala.git/Dado.class
+0
-0
out/production/java-e003-generala.git/Generala.class
+0
-0
out/production/java-e003-generala.git/Play.class
+0
-0
src/Dado.java
+4
-7
No files found.
.idea/misc.xml
View file @
03c1770d
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1
6
"
project-jdk-name=
"17"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1
7"
default=
"true
"
project-jdk-name=
"17"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/out"
/>
<output
url=
"file://$PROJECT_DIR$/out"
/>
</component>
</component>
</project>
</project>
\ No newline at end of file
out/production/java-e003-generala.git/Dado.class
View file @
03c1770d
No preview for this file type
out/production/java-e003-generala.git/Generala.class
View file @
03c1770d
No preview for this file type
out/production/java-e003-generala.git/Play.class
View file @
03c1770d
No preview for this file type
src/Dado.java
View file @
03c1770d
...
@@ -40,13 +40,10 @@ public class Dado {
...
@@ -40,13 +40,10 @@ public class Dado {
}
}
}
}
con
=
0
;
con
=
0
;
for
(
int
i
=
0
;
i
<
numerosArray
.
length
-
1
;
i
++)
{
String
numerosString
=
""
;
for
(
int
i
=
0
;
i
<
numerosArray
.
length
;
i
++)
{
if
(
numerosArray
[
i
]
!=
numerosArray
[
i
+
1
])
{
numerosString
+=
numerosArray
[
i
];
con
++;
if
(
numerosString
.
equals
(
"12345"
)
||
numerosString
.
equals
(
"23456"
)
||
numerosString
.
equals
(
"13456"
))
{
}
if
(
con
==
4
&&
(
numerosArray
[
3
]+
1
)
==
numerosArray
[
4
])
{
return
"ESCALERA"
;
return
"ESCALERA"
;
}
}
}
}
...
...
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