@@ -27,7 +26,7 @@ public class AssessmentPartOne {
}
else
{
returnnum2;//Added A semiColone here
returnnum2;//Added A semicolon here
}
}
}
...
...
@@ -65,11 +64,12 @@ public class AssessmentPartOne {
returnsumOfNumbers;
}
//This section of the program states while start is less than end-1 it will increment the start value. It will then add start to the sumOfNumbers, It then returns this value.
//It continues to run through this section of code until the start becomes equal to end-1
//It continues to run through this section of code until the start becomes equal to the end value -1