请大神指教?
#include void main() { int x, y, n; printf("please input :"); scanf("%d", &x); if(x>-5 && x<0) n="2;" x="">0 && x<10) n=3; switch(n) { case 1: y=x; break; case 2: y=x-1; break; case 3: y=x+1; break; default:printf("error\n"); } printf("y = %d\n",y); } 这错在哪里啊?请教各位大佬们