In this lesson, Codecademy introduced the concept of if/else control flows. An if/else statement will evaluate the if condition; if the condition evaluates as true, then it will execute the code within the curly braces following the if statement. Else, if the condition does not evaluate as true, the code associated with the else statement will run instead. The following code is an example of an if/else control flow in action; in this case, the statement will evaluate as false, therefore displaying the 5% discount message.
