Challenge: Even or Odd
Understand how to use PHP if-else conditional statements to check if a number is even or odd. This lesson helps you practice writing simple decision-making code based on integer inputs and outputting boolean results.
We'll cover the following...
We'll cover the following...
Problem Statement #
Write a code which will check whether a given integer $number is even or odd. You’re given a variable ...