Hy Guys
i tried to use a while and a for loop.
System.out.println showed me that the loops sometimes run 4 times instead of one time.
Whats wrong with it?
Greetings
HeyHey
int meineZahl = 3; public void act() { while (meineZahl < 10000) { System.out.println(meineZahl); meineZahl = meineZahl * meineZahl; } }