how to finf if an integer is odd or even code example Example: how to check if number is even if ( n % 2 == 0 ) { // n is even } else { //otherwise odd }