CodeLab Academy 📞 9936 6696
← List Scratch · Level 4: Conditions (if) Quiz · 20 points ← #347 #349 →

#348. Even or odd?

When the green flag is clicked, this script runs. What will the cat say?
when green flag clicked
set [x v] to (628)
if <((x) mod (2)) = (0)> then
say [Even]
else
say [Odd]
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!