#131. 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 (7) set [b v] to (19) set [c v] to (a) set [a v] to (b) set [b v] to (c)
# When the green flag is clicked a = 7 b = 19 c = a a = b b = c
let a = 0, b = 0, c = 0; // When the green flag is clicked a = 7; b = 19; c = a; a = b; b = c;
💡 Not sure? Build it in Scratch and try it out.