题目内容:
在窗体中添加一命令按钮,并在命令按钮中编写如下代码:
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;
End sub
运行后输出结果是 ( )A) -2 -
B.-2 1.234 567
C.-1 1.234 567 -1
D.-1 -1.234 567 -1
参考答案:
答案解析: