Loops Problems

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10

Outside of a Scope

The repeat scope in this program is the code between the start of the loop and the end block. It is important to realize that a variable defined inside a scope only exists within that scope. Run this program that tries to use a variable defined inside a different scope. Read the error and remove the block that is causing the problem.

Coding:

Blocks

PreviousNext