DEMO #4: Let's see how our program knows what lines of code to run and what to skip!

  • Click Run and type your answer in the user input box. Click Next Step on the stage to continue.
  • Click Next Step to view the example. Then, click Submit and Next to go on!

The code under the test line runs only if the test is true. This code must be indented _____________with a yellow block ····¬ under the test line. We say this code is INSIDE the if statement.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE