How to check even or odd number in php
$num = 85;
if($num % 2 == 0){
echo "this is even number";
}else{
echo "this is odd number";
}
How to check even or odd number in php
$num = 85;
if($num % 2 == 0){
echo "this is even number";
}else{
echo "this is odd number";
}
php odd or even
$num = 34;
if ($num % 2 == 0) {
print "It's even";
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us