i just try to make a simple program that is asking for an integer and than is analyzing it and returns 1 if is true and 2 if is false. I've been thinking about 10 minutes already but I have no idea which is that simple logical expression to determine if the number is even or odd.
So any idea?
Thanks