DEV Community 👩‍💻👨‍💻

Discussion on: Can you simplify this code for the guy?

Collapse
 
mranyx profile image
MrAnyx • Edited on

function even(int number) {
echo (number % 2 == 0) ? "true" : "false";
}

I hope he didn't go too far in the numbers 😂

Collapse
 
adeleyeayodeji profile image
Adeleye Ayodeji Author

Not completed