若有定义“int a=7; float x=2.5,y=4.7;”,则表达式“x+a%3*(int)(x+y)%2/4”的值为 。A.2.5B.2.75C.3.5D.0.0
若有定义“int a=7; float x=2.5,y=4.7;”,则表达式“x+a%3*(int)(x+y)%2/4”的值为 。
A.2.5
B.2.75
C.3.5
D.0.0
参考答案和解析
B
相关考题:
若有定义:int a=4,b=5;float x=3.4,y=2.1;,则下列表达式的值为( )(float) (a+b)/2+(int)×%(int)yA.5.5B.55C.5.500000D.55.00000
若有定义:int a=7;float x=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是A.2.500000B.2.750000C.3.500000D.0.000000
若有定义:inta=7;floatx=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是()。A.2.500000B.2.7500OOC.3.500000D.0.000000
若有定义:int a=4, b=5;float x=3.4,y=2.1;,则下列表达式的值为( )。 (float) (a+b)/2+(int)x%(int)yA.5.5B.55C.5.5D.55
若有定义:“int a=4,b=5;float x=3.4,y=2.1;”,则下列表达式的值为( )。 (float)(a+b)/2+(int)x%(int)y;A.5.5B.55C.5.500000D.55.00000
若有定义:int a=2,b=3;float x=3.5,y=2.5;则下面表达式的值为______。(float)(a+b)/2+(int)x%(int)yA.3.5B.35C.3.5D.35
单选题若有定义:int x=3,y=4;则表达式!x||y的值为()A1B0C3D4