/in/foo.c: In function 'main':
/in/foo.c:8:3: error: case label does not reduce to an integer constant
{case (x>10000&&x<=100000):k=3;printf("%d",k);break;
^~~~
/in/foo.c:9:3: error: case label does not reduce to an integer constant
case (x>1000&&x<10000):k=4;printf("%d",k);break;
^~~~
/in/foo.c:10:2: error: case label does not reduce to an integer constant
case (x>100&&x<1000):k=5;printf("%d",k);break;
^~~~
/in/foo.c:11:2: error: case label does not reduce to an integer constant
case (x>10&&x<100):k=6;printf("%d",k);break;
^~~~
/in/foo.c:12:2: error: case label does not reduce to an integer constant
case (x>=1&&x<10):k=6;printf("%d",k);break;
^~~~
/in/foo.c:13:2: error: case label does not reduce to an integer constant
case (x=10000):k=1;printf("%d",k);break;
^~~~
/in/foo.c:14:2: error: case label does not reduce to an integer constant
case (x=1000):k=2;printf("%d",k);break;
^~~~
/in/foo.c:15:2: error: case label does not reduce to an integer constant
case (x=100):k=3;printf("%d",k);break;
^~~~
/in/foo.c:16:2: error: case label does not reduce to an integer constant
case (x=10):k=4;printf("%d",k);break;
^~~~