A.The value of b is 2.
B.The value of a is 3.14.
C.The value of b is 2.00.
D.The value of a is 3.141.
E.The value of a is 3.1415.
F.The value of a is 3.1416.
G.The value of b is 2.0000.
第1题:
下面程序段: boolean a=false; boolean b=true; boolean c=(a&&B) &&(!B) ; boolean result=(a&B) &(!B) ; 执行完后,正确的结果是( )。
A.c=false;result=false
B.c=true,result=true
C.c=tree;result=false
D.c=false;result=trae
第2题:
下面程序段; boolean a=false; boolean b=true; boolean c=(a||b)&&(b); boolean result=(a|b)&(b); 执行完后,正确的结果是
A.c=false;result=false
B.c=true;result=true
C.c=true;result=false
D.c=false;result=true
第3题:
12. About_______ of the workers in the factory were born in the __________.
A. two- thirds;1970
B. two- thirds ; 1970s
C. two-third ; 1970
D. two-third ; 1970s
第4题:
下面程序段:boolean a=false;boolean b=true;boolean c=(a&&b)&&(!b);boolean result=(a&b)&(!b);执行完后,正确的结果是
A.c=false;result=false
B.c=true,result=true
C.c=true;result=false
D.c=false;result=true
第5题:
About ________ of the workers in the factory were born in the ________.
A.two-thirds, 1970 B.two-thirds, 1970s C.two-third,1970 D.two-third, 1970s
第6题:
4、请为下列程序写注释,并写出程序运行的结果。 bool a = true; int b = 30; bool result=a&(b>50?true :false); result = !result; Console.WriteLine(result);