Introduction
Nested conditions let you check one condition inside another. This helps you make decisions step-by-step, like asking multiple questions in order.
When you want to check if a number is positive and also if it is even.
When you need to decide what to do based on multiple levels of choices, like checking age and then checking if a ticket is valid.
When you want to handle special cases inside a general case, like checking if a user is logged in and then if they have admin rights.