for (i=0, j=1; i<value; i++) j *= -1; if (j>0) printf("Чётное"); else printf("Нечётное");
Other options:
no subject
:)))