Contributed by Eric Cheng
<?php declare(strict_types=1);
function isEven(int $x) {
if ($x % 2 == 0) {
return true;
} else {
return false;
}
}
?>
Contributed by Eric Cheng
<?php declare(strict_types=1);
function isEven(int $x) {
if ($x % 2 == 0) {
return true;
} else {
return false;
}
}
?>