设intx=0,y=9,a;,下列语句错误的是

设intx=0,y=9,a;,下列语句错误的是
A、if(y)x+=y;
B、if(x>y)x-=y
C、if(x<y){x++;y++;}
D、if(x!=y)a=0 else a=l;
【正确答案】:D