Commit 2fe07381 authored by Benco's avatar Benco

Update2

parent 358aeb92
Pipeline #428 failed with stages
...@@ -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.
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment