!!!求助!!运算问题!!
double x =(5*8/(7+2))%5; 输出 4.0
double x =(5*8/(7.0+2))%5 输出 4.4444444444444
double x =(doubie)5*8/(7+2)%5 输出4.44444444
为什么会这样呢?
double x =(5*8/(7+2))%5; 输出 4.0
double x =(5*8/(7.0+2))%5 输出 4.4444444444444
double x =(doubie)5*8/(7+2)%5 输出4.44444444
为什么会这样呢?
2015-01-31
举报