计算过程:
a+b=5
(float)5 5.0
5.0/22.5
(int)x 3
(int)y 2
%取余 1
最后+2.5+1= 3.5
希望能解决您的问题.
(float)(a+b)/2+(int)x%(int)y 设a=2,b=3,x=3.5,y=2.5 求算术表达式的值
(float)(a+b)/2+(int)x%(int)y 设a=2,b=3,x=3.5,y=2.5 求算术表达式的值
其他人气:127 ℃时间:2020-01-29 05:00:53
优质解答
我来回答
类似推荐
猜你喜欢
- 1选四个词语,写一段有中心的话
- 2氢氧化镁为什么溶于氯化铵
- 3物质量浓度比例问题
- 4用一个词概括仙人掌的特点
- 5Can you show me how to _____ the life of this kind
- 6一个盒子里装有红黑白玻璃各五个,至少取出( )个玻璃球,可以保证取出的玻璃球三种颜色都有
- 7Hao many people do you think should be invited to the party?___people there are ,____it will be.
- 8What vegetable do you like和what vegetables dou you like一样吗
- 9数列X1=1/2,X(n+1)=1/(Xn +1) 求通项公式
- 10她在医院工作英语咋拼