Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Programming-01-Assesment-01
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ben.coxford
Programming-01-Assesment-01
Commits
2fe07381
Commit
2fe07381
authored
Dec 05, 2018
by
Benco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update2
parent
358aeb92
Pipeline
#428
failed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AssessmentPartOne.java
src/AssessmentPartOne.java
+2
-2
No files found.
src/AssessmentPartOne.java
View file @
2fe07381
...
@@ -7,7 +7,7 @@ public class AssessmentPartOne {
...
@@ -7,7 +7,7 @@ public class AssessmentPartOne {
// Debug this method so it passes the unit test.
// Debug this method so it passes the unit test.
// Add comments beside any changes you make
// Add comments beside any changes you make
if
(
num1
<
num2
)
if
(
num1
>
num2
)
//Changed the 'less than' sign to a 'greater than' sign.
{
{
if
(
num3
>
num1
)
if
(
num3
>
num1
)
{
{
...
@@ -26,7 +26,7 @@ public class AssessmentPartOne {
...
@@ -26,7 +26,7 @@ public class AssessmentPartOne {
}
}
else
else
{
{
return
num2
;
return
num2
;
//Added missing semi-colon.
}
}
}
}
}
}
...
...
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