Introduction
Conditional flow helps a program decide what to do based on different situations. It makes the program smart by choosing different actions depending on conditions.
When you want to check if a user entered the correct password.
When you want to show a message only if a number is positive.
When you want to perform different tasks based on the day of the week.
When you want to give a discount only if the customer buys more than 5 items.