#147. Swapping
When the green flag is clicked, this script runs. What is the value of the **b** variable at the end?
when green flag clicked set [a v] to (13) set [b v] to (25) set [c v] to (a) set [a v] to (b) set [b v] to (c)
# When the green flag is clicked a = 13 b = 25 c = a a = b b = c
let a = 0, b = 0, c = 0; // When the green flag is clicked a = 13; b = 25; c = a; a = b; b = c;
💡 Not sure? Build it in Scratch and try it out.