Loops Problems

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

Intro to Scope

Explore scope by moving the count variable so it is the first block of code inside the repeat loop. Next, run the program. Why is the value of the count variable staying at 1?

Coding:

Blocks

PreviousNext