This commit is contained in:
DH10RBH 2024-04-15 13:52:51 +02:00
parent d0b3ee8e6a
commit 7881c5b11f

View File

@ -8,12 +8,33 @@ public class Main {
n = 20;
for (int i = anfang; i < 21; i++) {
for (int i = anfang; i <= n; i++) {
speicher += i;
System.out.println(speicher);
}
/* anfang = 1;
while (anfang <= n) {
speicher += anfang;
System.out.println(speicher);
anfang++;
} */
/* anfang = 1;
do {
speicher += anfang;
System.out.println(speicher);
anfang++;
} while (anfang <= n); */
}
}