Which of the following expressions will determine whether x is less than or equal to y?以下哪个表达式将确定x小于或等于y?
A. x > y
B. x =< y
C. x <= y
D. x >= y
查看答案
Which one of the following is the not equal operator? 以下哪一项是不等于运算符
A. <>
B. NOT
C. *&
D. !=
What will be the value of x after the following code is executed?执行以下代码后,x的值是多少?int x = 75;int y = 60;if (x > y)x = x - y;
A. 75
B. 15
C. 60
D. 135
What will be the value of ans after the following code has been executed?执行以下代码后,ans的值是什么?int ans = 10;int x = 65;int y = 55;if (x >= y)ans = x + y;
A. 10
B. 120
C. 100
D. No value, there is a syntax error 无值,语法错误
What will be the value of ans after the following code has been executed?执行以下代码后,ans的值是什么?int x = 90,y = 55,ans = 10;if ( x == y);ans *= 2;
A. 10
B. 145
C. 20
D. No value, there is a syntax error 无值,语法错误