sum of odd number in a range using c code example Example: even odd numer c if( num % 2 == 0 ) printf("EVEN!\n"); else printf("ODD!\n");