Rocket's score box holds zero. He adds one point, then two, then five. "Let's see what happens!" he says.
Raven traces each line slowly. "What do you notice about the old value?" she asks.
Next, Rocket wants to trade what is inside two boxes. Nova holds up a third empty box. "This one is called temp," she says.
Let's do the box math. Then we'll try the swap.
When the value is a number, you can ADD to it or SUBTRACT from it.
score = 0 score = score + 1 (Now score = ?) score = score + 2 (Now score = ?) score = score + 5 (Now score = ?)
lives = 5 lives = lives - 1 (Now lives = ?) lives = lives - 2 (Now lives = ?)
Sometimes you want to TRADE what's inside two boxes. To do that you need a THIRD empty box (call it temp). Read carefully:
a = 7 b = 4 temp = a (now temp = 7) a = b (now a = ?) b = temp (now b = ?)