Glossary term
What is boolean? Meaning for developers
A value that is either true or false. Every condition in an if or a loop is turned into a boolean.
Learn it properly · DSALesson 3: Conditions: if / elseTeach the program to make decisions. Comparisons, && and ||, else-if chains, and common questions: even or odd, largest of three, leap year.