renamed variables for an easier understanding
This commit is contained in:
@@ -17,11 +17,11 @@ public class Schleifen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void halberTannenbaum() {
|
public static void halberTannenbaum() {
|
||||||
String x = "x";
|
String a = "x";
|
||||||
for (int i=0; i<13; i++) {
|
for (int i=0; i<13; i++) {
|
||||||
String y = x + "x";
|
String b = a + "x";
|
||||||
System.out.println(x);
|
System.out.println(a);
|
||||||
x = y;
|
a = b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user