Created
September 6, 2021 11:55
-
-
Save karlbeecken/6d05492a825faf75e95e16cb4fae83fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (int i = 0; i < wunschliste.length; i++) { | |
Pizza pizza = wunschliste[i]; | |
if (pizza == null) continue; | |
System.out.print(i + " "); | |
System.out.print(pizza.getNamen()); | |
System.out.print(", Preis (in Cent): "); | |
System.out.println(pizza.getPreis()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment