Lösung Diekhaus Übung 7 Nr. 2:

public class hg72 {

	public static void main( String[] args ) {
		
		// Anwendungscode
		for(int g=0 ;g<3;g++){
		System.out.print("o-----o\n|     |\n|     |\n|     |\no-----o");
	}
	
	}
}

																
[Index]