19.08.2015, 23:12
Hello!
I want to check if a number is even or uneven.
For those who don't understand: 1 - uneven, 2 - even, 3 - uneven ... etc.
In c++ I am doing this at school by using this:
how can I do this in PAWN?
I want to check if a number is even or uneven.
For those who don't understand: 1 - uneven, 2 - even, 3 - uneven ... etc.
In c++ I am doing this at school by using this:
PHP код:
if(x%2)
PHP код:
if(x%2 == 0)