10 is positive.
Grade: C
It's Monday!
Conditional statements in PHP allow you to execute different blocks of code based on certain conditions.
The if...else statement evaluates a condition and executes one block of code if the condition is true, and another block of code if the condition is false.
The if...elseif...else statement allows you to evaluate multiple conditions sequentially and execute different blocks of code based on the first condition that evaluates to true.
The switch statement provides an alternative way to evaluate multiple conditions based on the value of a variable. It compares the value of the variable against different cases and executes the corresponding block of code.