WARNING: This program doesn't work! It has a logic error, which means it doesn't do what we want.

RULE: Algorithms are step-by-step solutions to a problem. It's important to carry out the steps in the correct order!

  • Click Run and watch the stage to see what happens.
  • Reorder the function calls so that the story algorithm runs in the correct order.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)