about this program
which wants only 0 and 1 integers in its input...if other digits it will say error///
how to determine it??
i don't know
is it
printf("enter a value\n");
scanf("%d",&value);
if(value2=0; value%2=1,value++){
printf("error\n");
}
else continue.
how to do it..?
i dont get the idea for geting only integers 1 and 0?
any formula..??