Test yourself on Selection (IF Statements) with exam style questions, marked instantly.
Flashcards that come back just before you would forget them.
A revision plan that remembers what you know and shows what to do next.
See which topics you have nailed and which need another look.
Quiz yourself on Selection (IF Statements)Get your flashcardsBuild my revision planTrack my progressDeep Dive: Nested IF Statements
if age >= 18 then
if hasLicense == true then
OUTPUT "Can drive"
else
OUTPUT "Need license"
endif
else
OUTPUT "Too young"
endif
IF statements can be placed inside other IF statements - this is nesting. Be careful with indentation!
Make this stick
Signing in gives access to all PrepWise features.