Activity: Debugging 2
img

WARNING: This program has a bug and we need to fix it! We're trying to draw a rectangle but it has the wrong height!

RULE: You should use comments to determine which parameters match with which value.

  • Click Run to see what's wrong.
  • Debug the program so that it draws a rectangle with a height of 200.
  • Click Run after you make a change to test your program.


# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support