Answers for "php check if number is even or odd"

PHP
4

php odd or even

$num = 34;
if ($num % 2 == 0) {
  print "It's even";
}
Posted by: Guest on August-07-2020

Code answers related to "php check if number is even or odd"

Browse Popular Code Answers by Language