Skip to content

Commit

Permalink
fix(FishCalculator): adjusted message
Browse files Browse the repository at this point in the history
  • Loading branch information
oscar-schwarz committed Jun 22, 2024
1 parent 4f9f53c commit 62af854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/fish_variety/FishCalculator.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ public FishCalculator(FishConstraints constraints) {
public void calculateVarietyForPrice(int price) {
FishCollection bestVariant = FishCalculator.mostCompatibleFishTypesOfCollection(price, new FishCollection(this.constraints));

System.out.println("Es koennen maximal " + bestVariant.getFishes().size() + " Fische zusammen gekauft werden, zum Beispiel: " + bestVariant.toString());
System.out.println("Mit einem Kapital von " + price + " koennen maximal " + bestVariant.getFishes().size() + " Fische zusammen gekauft werden, zum Beispiel: " + bestVariant.toString());
}
}

0 comments on commit 62af854

Please sign in to comment.