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