Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 0; b = 0;

Similar presentations


Presentation on theme: "1 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 0; b = 0;"— Presentation transcript:

1 1 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 0; b = 0;

2 2 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 0; b = 0;

3 3 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 0; b = 0;

4 4 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 0; b = 0;

5 5 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 0; b = 0;

6 6 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 1; b = 0;

7 7 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 1; b = 0;

8 8 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 1; b = 0;

9 9 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 1; b = 0;

10 10 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 1; b = 1;

11 11 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 2; b = 1;

12 12 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 2; b = 1;

13 13 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 2; b = 1;

14 14 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 2; b = 1;

15 15 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 2; b = 3;

16 16 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 3; b = 3;

17 17 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 3; b = 3;

18 18 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 3; b = 3;

19 19 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 3; b = 3;

20 20 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 3; b = 3;


Download ppt "1 Praktični primer: Zanka while-do while(a < 3) { b += a; a++; } Start a < 3 b = b + a Stop DA NE a = a + 1 a = 0; b = 0;"

Similar presentations


Ads by Google