logo

Crowdly

Gegeben ist folgender Programmcode: Was wird ausgegeben? Schreibe d...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Gegeben ist folgender Programmcode:

1

2

3

4

5

6

7

8

9

10

11

12

13

public class

WHSchleifen2 {

public static void

main(String[] args) {

int

zaehler;

int

s;

zaehler =

0

;

s =

0

;

while(zaehler <= 3

) {

s = s + zaehler;

System.

out.print

(s);

zaehler = zaehler +

1

;

}

}

}

Was wird ausgegeben? Schreibe die Ausgabe so hin, wie sie tatsächlich vom Computer ausgegeben wird.

More questions like this

Want instant access to all verified answers on elearning.tgm.ac.at?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!