#125. Chain of steps
When the green flag is clicked, this script runs. What is the value of the **a** variable?
when green flag clicked set [a v] to (16) set [b v] to ((a) - (1)) set [a v] to ((b) * (2))
# When the green flag is clicked a = 16 b = a - 1 a = b * 2
let a = 0, b = 0; // When the green flag is clicked a = 16; b = a - 1; a = b * 2;
💡 Not sure? Build it in Scratch and try it out.