Boolean Variables Problems
Intro to Boolean Variables
Boolean variables follow the same basic format type variableName = value. For boolean variables this means their type is boolean and their value is either true or false.
Read through the blocks in the tray. Then use only the blocks in the tray to build a program that declares two boolean variables and displays the values of each.
This program should show the following:
false
true
Coding:
Hint
Great job!
Try again
Drop in the two boolean variable blocks from the tray. Then add the output block from the tray that will output false. Finally, add the output block that has the variable with a value of true.
You might wonder why output can display boolean values as text. In Quorum and many other programming languages these types can be automatically converted to text.
