网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
当条件为5<x<10时,则x=x+1,则以下语句正确的是( )。
A.if 5<x<10 Then x=x+l
B.if 5<x or x<10 Then x=x+1
C.if 5<x and x<10 Then x=x+1
D.if 5<x or x<10 Then x=x+1
参考答案
更多 “ 当条件为5<x<10时,则x=x+1,则以下语句正确的是( )。A.if 5<x<10 Then x=x+lB.if 5<x or x<10 Then x=x+1C.if 5<x and x<10 Then x=x+1D.if 5<x or x<10 Then x=x+1 ” 相关考题
考题
以下if语句书写正确的是( )A.if(x=0;) printf("%f",x); elseprintf("%f",-x);B.if(x>0) {x=x+1;printf("%f",x);} else printf("%f",-x);C.if(x>0); {x=x+1;printf("%f",x);} else printf("%f",-x);D.if(x>0) {x=x+1;printf("%f",x)} else printf("%f",-x);
考题
8、以下if语句书写正确的是()。A.if (x = 0; ) cout << x ; else cout<< -x;B.if (x > 0 ) { x = x + 1; cout << x ;} else cout <<-x;C.if (x > 0 ); { x = x + 1; cout << x ;}D.if (x > 0 ) { x = x + 1; cout << x} ;
考题
当条件为5<x<10时,x=x+1,以下语句正确的是()。A.if 5<x<10 then x=x+1B.if 5<x or x<10 then x=x+1C.if 5<x and x<10 then x=x+1D.if 5<x xor x<10 then x=x+1
考题
当条件为5 < x ≤ 10时,则将x的值加1,则以下语句正确的是()。A.If 5 < x < =10 Then x = x + 1B.If 5 < x And x <= 10 Then x = x + 1C.If x > 5 Or x <= 10 Then x = x + 1D.If 5 < x And <= 10 Then x = x + 1
热门标签
最新试卷