Fixed a small possible error

This commit is contained in:
2020-06-12 19:31:06 -04:00
parent 3f52845d18
commit 37ca547aa7

View File

@@ -83,7 +83,7 @@ public class Driver{
//This selection solves all problems in order //This selection solves all problems in order
if(problemNumber.equals(0)){ if(problemNumber.equals(0)){
//Solve to every valid problem number, skipping over 0 //Solve to every valid problem number, skipping over 0
for(Integer problemLocation = PROBLEM_NUMBERS.get(1);problemLocation < PROBLEM_NUMBERS.size();++problemLocation){ for(Integer problemLocation = 1;problemLocation < PROBLEM_NUMBERS.size();++problemLocation){
//Solve the problems //Solve the problems
System.out.print(PROBLEM_NUMBERS.get(problemLocation).toString() + ". "); System.out.print(PROBLEM_NUMBERS.get(problemLocation).toString() + ". ");
solveProblem(PROBLEM_NUMBERS.get(problemLocation)); solveProblem(PROBLEM_NUMBERS.get(problemLocation));