BOOLEAN is TRUE or FALSE

Complete the previous lesson to unlock this one.

Back to the path

BOOLEAN is TRUE or FALSE

Level 2: Values. Found, Swapped and Flag are BOOLEAN. OUTPUT prints TRUE or FALSE — not the strings "TRUE" / "FALSE".

Declare a BOOLEAN, assign TRUE or FALSE, then OUTPUT it.

This program should print:

TRUE FALSE