Lösungsvorschlag 3.4.-Aufgabe 4: Unterschied zwischen den Versionen
Aus ComeniusWiki
(Die Seite wurde neu angelegt: „<pre> public void matrix(){ int w = 16, h = 16; for(int y=0;y<h;y++) { for(int x=0;x<h;x++) { System.out.print("o "); } System.out.println(); …“) |
Version vom 1. November 2013, 11:10 Uhr
public void matrix(){ int w = 16, h = 16; for(int y=0;y<h;y++) { for(int x=0;x<h;x++) { System.out.print("o "); } System.out.println(); } }
Erläuterung: Ohne die Leerzeile würden die Zeichen nebeneinander ausgegeben werden.