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