How can I check whether an int is odd or even?
here is a quick example x=num % 2; If x equals 0 its even. If doens't its odd.