Conditions in PHP

You failed the class.
The month is September.

Conditions let you control what happens in your code based on certain situations. The if/else statement checks if the score is 60 or higher to determine if you passed or failed the class. I did something similar in Java with loops to handle multiple conditions, which made my code neat and efficient. The switch statement here checks the month number and tells you which month it is, making it easy to see your current month.