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