if else statement
Statements under if executes only, when the given condition is true.
Otherwise, the statements under else will be executed.
When we need to decide either this or that in programming, we should go for if-else statement.
positive or negative
prime or composite
odd or even etc.
Get a number from user and say whether it is zero or non-zero number.