If statements

or... how to make a decision!


Maya made it this far on the island using the code at the right. There was a flower at location (0,3)

Answer TRUE or FALSE for the following conditions relative to Maya:

  1. If Maya is facing South
  2. If it is clear ahead
  3. If Maya has a flower
  4. If there is a flower here and there is a net to the right
  5. If there is water ahead
  6. If there is a flower to the left or there is water ahead