14 min
Loops: working through the order queue
The boba shop's screen fills with orders after school. One short loop makes every drink once, and one wrong number skips a customer or crashes the screen.
Ticket 01 · The guess
How many fence posts?
Words to know
Sources and every number
Every number
- 100 ft
(example number: Simplified example: the fence's length.) · Simplified example: the fence's length. - 10 ft
(example number: Simplified example: space between posts.) · Simplified example: space between posts. - 11 posts
(example number: Worked out: the length divided by the gap gives the gaps, plus one more post.) · Worked out: the length divided by the gap gives the gaps, plus one more post. - 10 posts
(example number: Worked out: the length divided by the gap, the number of gaps (the common wrong answer).) · Worked out: the length divided by the gap, the number of gaps (the common wrong answer).