c language know if number even code example Example: even odd numer c if( num % 2 == 0 ) printf("EVEN!\n"); else printf("ODD!\n");