
Execute this code if "i" isn't less than or greater than five.

Execute this code if "i" is greater than five. If statements can be used to check a single condition using only the "if" part of an if statement, but it's also possible to have secondary and fallback conditions using "else if" and "else" statements as seen below. If statements are used to determine which branch your code should take based on boolean conditions. The most common form of conditional statements are known as "if" statements. To allow your code to react to these varying conditions and branch accordingly, we use conditional statements (also known as control flow). If it's raining, you might want to show a cloud with rain coming out of it.

If it was cloudy outside, you might want to show some clouds. In the case of a weather app, for example, you wouldn't always want to show a picture of the sun to describe the weather. Often times, you'll need to make your code branch based on certain conditions.

It's almost impossible to write code that can be executed, line for line, in the exact order it's written and still create something useful.
