![](https://lstatic.shangxueba.com/jiandati/pc/images/pc_jdt_tittleico.png)
设有如下变量定义: double a= 3.500000;float b=2.5;int m=2,n=3; 则表达式“(float)(m+n)/2+(int)a%(int)b”的值是()。
A.2.5
B.3.5
C.4.5
D.表达式不正确
![](https://lstatic.shangxueba.com/jiandati/pc/images/jdt_q_ckda.png)
![](https://lstatic.shangxueba.com/jiandati/pc/images/jdt_panel_vip.png)
![](https://lstatic.shangxueba.com/jiandati/pc/images/jdt_q_wyda.png)
- · 有4位网友选择 D,占比23.53%
- · 有3位网友选择 A,占比17.65%
- · 有3位网友选择 A,占比17.65%
- · 有3位网友选择 B,占比17.65%
- · 有2位网友选择 D,占比11.76%
- · 有1位网友选择 C,占比5.88%
- · 有1位网友选择 C,占比5.88%