Loading...

for-loop part 5

__info__

You can nest several for loops in one another.

In the example on the left, two for loops have been nested to program a chaser light.

__info__

If your source code contains errors and you compile then the computer highlights the lines where the compiler thinks there is an error.

__task__

In this example there are four errors!

Can you finde them all?

After compiling you can get more information about the errors by clicking on !

Transfer the corrected programme onto your BOB3.

__quiz__

1: What does the program do? 
2: When programming you have to pay attention to the capitalisation of letters. 
 You haven’t completed anything yet!
 Super, so far so good…
 Super, you got it all right!
 Sadly not correct…
 One answer is correct
 A couple are correct…
Fahre mit der Maus über die Symbole!