The goal of this lesson is to learn to use Boolean expressions to make comparisons.
You will learn to use the if/else control structure to create different paths or branches in the code.
Sometimes a programmer would like one statement, or group of statements to execute only if certain conditions are true. There may be a different statement, or group of statements that are to be executed when the condition is false. An expression that can be evaluated to true or false is called a Boolean expression. (Named after a mathematician named Boole who developed Boolean algebra.)
In this module, you will use Boolean Expressions. Boolean expressions are ones that can be evaluated as true or false.In order to do this you will: