Introduction
Nested if statements help you check multiple conditions step by step. They let you make decisions inside other decisions.
When you want to check if a number is positive and then check if it is even or odd.
When you need to verify a password and then check if the user has admin rights.
When you want to decide what to wear based on weather and then based on temperature.
When you want to check if a student passed and then check if they got honors.
When you want to check if a store is open and then check if a product is in stock.