Rocket has a big question for the crew.
Can we know the final number before Nova flies?
Raven says yes, if we read closely.
Look at where the box starts.
Look at the repeat and the change line.
Then we can predict the end!
Where does the box start?
How many rounds does the repeat run?
How much does each round add?
set steps to 1 repeat 3 times: move right change steps by 1
Start at 1. Three rounds. Add 1 each.
The box ends at 4.
The move line does not touch the box.
Build a counter that ends with 6.
Nova must say 6 last.
The auto-pilot counts steps too.
What does steps hold at the drop?
Next week we find out!
| program | steps ends at 4? |
|---|---|
| set steps to 1, repeat 3 times: change steps by 1 | ? |
| set steps to 0, repeat 2 times: change steps by 2 | ? |
| set steps to 2, repeat 3 times: change steps by 1 | ? |
| set steps to 0, repeat 3 times: change steps by 1 | ? |
Read where the box starts.
Read the rounds and the change line.
Then predict the end!
Tomorrow: your own flights!