>
其他
>
若有定义:int a=7;float x=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是?
人气:382 ℃ 时间:2020-03-24 02:03:47
解答
int a=7;
float x=2.5,y=4.7;
x+a%3*(int)(x+y)%2/4
=> 4.7 + 7 % 3 * (int) ( 2.5+4.7) % 2 / 4
=> 4.7 + 1 * (int) (7.2) % 2 / 4
=> 4.7 + 1 * 7 % 2 / 4
=>4.7 + 1 * 1 / 4
=>4.7 + 0
=>4.7
考查运算符以及类型转换.
推荐
15.若有定义:int a=7;float x=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是( )
若有定义语句int a=7;float x=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值为多少
若有定义:int a=7;float x=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是
若有定义“int a=7;float x=2.5,y=4.7;”,则表达式x+a%3*(int)(x+y)%2/4的值是多
若有定义:int a=7;float x=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是
地球上的氧气会用完吗?
live at/in/on有什么区别?介词后加什么?
初中英语词组 后接to do和doing的
猜你喜欢
2/5x=(300-x)*1/4+420和 (21-x)*8/13=13-x 解方程,请尽快,
四棱台体积计算公式?
帮我修改下这篇英语文章并找出错误
与苯环相连的氯的红外吸收峰在哪?芳香醚的醚键吸收峰在什么位置?
建筑面积和墙面面积怎么换算
一道英语试题,
cotA=-12/5,求cosA.
the box purple are the flowers in --Are the purple flowers in the box?这个句子正确吗
© 2025 79432.Com All Rights Reserved.
电脑版
|
手机版