下列if语句非法的是( )A.if(a=B) x=1;B.if(!3.9)C.if('a'x==y) y++;D.if(x>y) scanf("%f",y) else scanf("%f",x);
下列if语句非法的是( )
A.if(a=B) x=1;
B.if(!3.9)
C.if('a'&&x==y) y++;
D.if(x>y) scanf("%f",&y) else scanf("%f",&x);
相关考题:
以下错误的if语句是( )。A.if(x>y)x++;B.if(x)x++;C.if(x!=y) cout<<x;y++;D.if(x<y) x++;cout<<x;else cout<<y;
下述语句中,_____中的if语句语法是错误的。()A.if(x>y);B.if(x==y)x+=y;C.if(x!=y)seanf("%d",x)else scanf("%d",y);D.if(x<y){x++;y++;}
下述语句中,______中的if 语法有错误。A.if(x==y);B.if(x==y) x+y;C.if(x!=y) scanf(“%d”,x) else scanf(“%d”,y);D.if(x==y) {x++;y++;}
以下不正确的if 语句形式是()A.if(x<y) {x++;y++;}B.if(x>yx!=y);C.if(x==y)x+=y;D.if(x!=y) scanf("%d",x) else scanf("%d",y);
12、以下语句,语法正确的是()。A.if (x>y);#B.if (x=y)(x!=0) x+=y;#C.if (x!=y) scanf("%d",x); else scanf("%d",y);#D.if (x<y) {x++;y++;}#E.if(a+b) a=0;
以下合法的if语句形式是()。A.if (0) ;B.if (x=y) x+=10;C.if (x!=y) scanf("%d",x); else scanf("%d",y);D.if (x==y) {x++; y++;}
以下为不正确的if语句的是A.if(x<y);B.if(x!=y) printf("x=%d",x); else(x==y) printf("y=%d",y);C.if(x==y) x+=y;D.if(x<y) {x++;y++;}