At last, the crew opens the auto-pilot program.
Raven reads her clue list out loud.
Clue one. The drop comes when steps reaches 5.
Clue two. The drop happens inside check height.
Test flights stay over safe, open ground.
So the crew can test as much as they like.
Rocket grabs his tablet. Let us hunt!
Clue one. The drop comes when steps reaches 5.
Clue two. It happens inside check height.
Now we read the real program.
The flight program repeats 5 steps.
Every step does the check height job.
set height to 3 set steps to 0 repeat 5 times: move right change steps by 1 do check height stop land
Three lines sit between repeat and stop.
They run 5 times, once for each step.
Rebuild the steps of the flight.
Move, count the step, then check height.
Steps reaches 5 on the fifth step.
Right after that, the ship does check height.
| about the auto-pilot | true? |
|---|---|
| height starts at 3 | ? |
| steps starts at 5 | ? |
| check height runs 5 times | ? |
| land runs 5 times | ? |
Here are new sight words.
Look at each word. Say it. Spell it.
Why: W-H-Y.
Wish: W-I-S-H.
The flight repeats 5 steps.
Every step does check height.
Steps reaches 5 on the last step.
Great work, Crew!