Boolean data type code example
Example 1: what is a Boolean
Boolean refers to a system of logical thought that is used to create true/false
statements. A Boolean value expresses a truth value
(which can be either true or false). Boolean logic was developed by
George Boole, an English mathematician and philosopher, and has become the
basis of modern digital computer logic.
Example 2: boolean n = true
boolean n = true;