Name: Anonymous 2011-09-03 10:01
Is it not possible to use
if(0<x<10){}
or do you have to use
if(x>0&&x<10){}
?
if(0<x<10){}
or do you have to use
if(x>0&&x<10){}
?
if((x>0)+(x<10)==2) {}
if((x%2==0)+(x%3==0)+(x%5==0)==2){
printf("Number is divisible by 2 of 3 primes less than 7");
}