VB.NET 算术表达式求值求下列算术表达式的值.已知x = 2.5 :a = 7 :y = 4.7.(1)x+a Mod 3 * (Int(x+y)Mod 2)/4(2)CSng(a + 3)/2+Int(x) Mod Int(y)

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/26 11:25:35
VB.NET算术表达式求值求下列算术表达式的值.已知x=2.5:a=7:y=4.7.(1)x+aMod3*(Int(x+y)Mod2)/4(2)CSng(a+3)/2+Int(x)ModInt(y)V

VB.NET 算术表达式求值求下列算术表达式的值.已知x = 2.5 :a = 7 :y = 4.7.(1)x+a Mod 3 * (Int(x+y)Mod 2)/4(2)CSng(a + 3)/2+Int(x) Mod Int(y)
VB.NET 算术表达式求值
求下列算术表达式的值.已知x = 2.5 :a = 7 :y = 4.7.
(1)x+a Mod 3 * (Int(x+y)Mod 2)/4
(2)CSng(a + 3)/2+Int(x) Mod Int(y)

VB.NET 算术表达式求值求下列算术表达式的值.已知x = 2.5 :a = 7 :y = 4.7.(1)x+a Mod 3 * (Int(x+y)Mod 2)/4(2)CSng(a + 3)/2+Int(x) Mod Int(y)
1)x+a Mod 3 * (Int(x+y)Mod 2)/4 =
2.5 + 7 Mod 3 *(int(2.5+4.7) Mod 2)/4
=9.5 mod 3*3/4
= 9.5 mod 2
=4