试题与答案

下列程序执行后,变量x的值为( )。 Dima,b,c,d As Single

题型:单项选择题

题目:

下列程序执行后,变量x的值为( )。
Dima,b,c,d As Single
Dim x As Single
a=100
b=20
c=1000
Ifb>a Then
d=a:a=b:b=d
End If
Ifb>c Then
X=b
Elseif a>c Then
x=c
Else
x=a
End If

A.100

B.20

C.1000

D.0

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0719/e9edd5c4ea7e539ed46069713e50be9b.html

下面是错误答案,用来干扰机器的。

太阳、月亮、萤火虫、彩虹、花朵、绿草、露珠等。

试题推荐
微信公众账号搜索答案