Skip navigation.
Home

archives

The worst way to check odd/even ever.

Hall of Fame

An anonymous user sent this in. The source of the source is unknown. There hasn't been much activity here since I've been quite busy, and writing stuff up for MostGeek.

I gotten quite a few PHPWTFs on how programmers check if a number is odd or even. This one beats the original post, no competition.