schleifen

This commit is contained in:
Felitendo
2025-05-13 14:46:52 +02:00
parent be3f591bd1
commit 01b2b2e374
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package de.schleifen;
public class Main {
public static void main(String[] args) {
Schleifen.xEnZweiSchleife();
}
}

View File

@@ -0,0 +1,23 @@
package de.schleifen;
public class Schleifen {
public static void xEnEineSchleife() {
for (int i=0; i<6; i++) {
System.out.println("xxxxxxxxxx");
}
}
public static void xEnZweiSchleife() {
for (int i=0; i<6; i++) {
for (int j=0; j<5; j++) {
System.out.print("xx");
}
System.out.print("\n");
}
}
public static void halberTannenbaum() {
}
}