[单项选择题] 在窗体中添加一命令按钮,并在命令按钮中编写如下代码: Private Sub Commandl_C1ick() Dim a As Single a=-1.234567 b=In
19 查阅
[单项选择题] 在窗体中添加一命令按钮,并在命令按钮中编写如下代码: Private Sub Commandl_C1ick() Dim a As Single a=-1.234567 b=Int(A) c=Sgn(A) d=Abs(A) e=Fix(A) If a<b Then Print b: If a<c ThenPrint c; H a<d ThenPrint d; H a<e Then Print e; Print End sub 运行后输出结果是 ( )
A.-2 -1 1.234 567 -1
B.-2 1.234 567
C.-1 1.234 567 -1
D.-1 -1.234 567 -1
参考答案: