in

The last one works even with negative numbers

The last one works even with negative numbers | ProgrammerHumor.io
The last one works even with negative numbers

[text] bool isEvenint x e ey PR Coen PR boo 1sEvenint x PSR IS PR b FreT R else return false EERTETIEES if x 2 8 else return false bool isEvenint x return x 1