Activity: Debugging 2
img

WARNING: This program has a bug, which means we need to fix it!

RULE: When we're using if statements, it is important to indent after the test line for each statement.

  • Click Run and read the error message.
  • Debug the program so that the athlete runs a random number of bases (1 - 4) each time you press Run.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support