As you can see.
input @number;
if (callfunc("OddFunc",@number))
Now, calling the function "OddFunc" with the argument @number.
and then, inside the function "Oddfunc"
if (getarg(0)%2==0)
for instance, if you input '4'. It will be
if ( 4 % 2 == 0)
note: % = Modulus operator >http://www.cprogramm...al/modulus.html
If the argument(number) is even return 0 else return 1.