8. Flowcharts Jumper or not
Selection provide alternatives or branches in the code.
In the pseudocode below, the temperature determines whether a jumper will be worn or not.
ALGORITHM jumperOrNot()
BEGIN
INPUT temperature
IF temperature < 20 THEN
PRINT "Wear jumper"
ELSE
PRINT "No jumper"
ENDIF
END