We can also put an if statement into another if statement in order to reduce the number of times we check a condition.

Let's see if number is a digit between 0 and 9!

See that? The inner if statement is only relevant if the outer if statement evaluates to true. This practice is also known as nesting.

Are you sure it'd make sense to have two else statements here?