Skip to content

Commit

Permalink
updated solution; fixed minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Mintas committed Mar 3, 2016
1 parent 1cff4ae commit 442f61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static void main(String[] args) {
}

private static void printSolution(JackSparrowHelper jackSparrowHelper) {
Purchases abr = jackSparrowHelper.helpJackSparrow("C:\\Users\\SBT-Kovalev-DA\\Downloads\\pirates\\sources.csv", 353);
Purchases abr = jackSparrowHelper.helpJackSparrow("C:\\Users\\SBT-Kovalev-DA\\Downloads\\pirates\\sources.csv", 222);

System.out.println(abr.calculateAveragePrice() + " REAL AVG: " + getAvg(abr));
System.out.println("amount: " + getGallons(abr));
Expand Down

0 comments on commit 442f61a

Please sign in to comment.