If Statements
starstarstarstarstarstarstarstarstarstar
by Danielle Rowley-Swaby
| 2 Questions
1
1
set a = 25
set b = 27
If a > b
say "b is bigger"
say "confused?"
none of these
confused
b is bigger confused
b is bigger
2
1
z is 19
y is 1050
if z < 20
say "almost there"
if y = 1050
say "no no"
say "just about done"

almost there just about done
no no just about done
almost there no no just about done
no no
almost there
Add to my formatives list

Formative uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to the Terms of Service and Privacy Policy.