CodeLab Academy 📞 9936 6696
← List Scratch · Level 5: Repeat until Quiz · 25 points ← #486 #488 →

#487. Doubling up

When the green flag is clicked, this script runs. What is the value of the **c** variable?
when green flag clicked
set [v v] to (1)
set [c v] to (0)
repeat until <(v) > (114)>
set [v v] to ((v) * (2))
change [c v] by (1)
end

💡 Not sure? Build it in Scratch and try it out.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!