It's also possible to have an if block within another if block. Take a look.

Let's try and invoke the inner if statement.

If we enter the first block and the second condition is true, both messages will output. Otherwise we'll only get the one.

Wouldn't we need both of the conditions to be satisfied to trigger the inner if statement?