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