March 2021
Beginner
404 pages
5h 47m
English
In previous chapters, we looked at the primitive values of strings and numbers. Now let’s take a closer look at Booleans, another primitive data type, and find out how we can use them to control the flow of a program.
In this chapter, we’ll be covering the following:
In Chapter 2, we saw that Booleans are one of the primitive data types used by programming languages. There are only two Boolean values, true and false. They’re named after George Boole, an English mathematician who worked in the field of algebraic logic. Boolean values are fundamental in the logical statements that ...
Read now
Unlock full access