switch 和 scanf 的问题!
#include <stdio.h>void main()
{
int s1,s2,s3;
scanf("%d%d%d",&s1);
}
switch(s1)
{
case s1<100: printf("ok");
case s1>100: printf("bbb");
case s1=1000: printf(aaa");
default : printf("i don't know you want to do something!");
}
运行的时候出错了...不知哪里错.还望高手解答...