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?"
b is bigger
b is bigger confused
none of these
confused
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
almost there no no just about done
no no just about done
no no
almost there just about done
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.