题目内容 (请给出正确答案)
[主观题]

下列程序执行后,变量a的值为()。Dim a,b,c,d as singlea=100b=20c=1000if b>a Then d=a:a=b:b=dE

下列程序执行后,变量a的值为()。 Dim a,b,c,d as single a=100 b=20 c=1000 if b>a Then d=a:a=b:b=d End if if c>a Then d=a:a=c:c=d End if if c>b Then d=b:b=c:c=d End if

A.0

B.1000

C.20

D.100

提问人:网友jumbynet 发布时间:2022-01-06
参考答案
查看官方参考答案
如搜索结果不匹配,请 联系老师 获取答案
更多“下列程序执行后,变量a的值为()。Dim a,b,c,d a…”相关的问题
第1题
执行下列程序后,变量a的值为()Dim i As IntegerDim a As Integera=0For i=l To 100 Step 2a=a+lN

执行下列程序后,变量a的值为 () Dim i As Integer Dim a As Integer a=0 For i=l To 100 Step 2 a=a+l Next i

A.1

B.10

C.50

D.100

点击查看答案
第2题
下列程序执行后,变量S的值为Dim s As Long,x As Integers=0For x=1 To 10 Step 2s=s+xNext xText

下列程序执行后,变量S的值为 Dim s As Long,x As Integer s=0 For x=1 To 10 Step 2 s=s+x Next x Text1.Text=s

A.10

B.25

C.50

D.100

点击查看答案
第3题
下列程序执行后,变量x的值为()。 Dim a, b, c, d As Single Dim x As Single a=10 b=30 c=400 If

下列程序执行后,变量x的值为()。 Dim a, b, c, d As Single Dim x As Single a=10 b=30 c=400 If b>a Then d=a:a=b:b=d End If If b>c Then x=b Else If a>c Then x=c Else x=a End If

A.10

B.30

C.400

D.430

点击查看答案
第4题
下列程序执行后,变量x的值为______。Dim a, b, c, d As SingleDim x As Singlea=100b=20c=1000If

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

A.100

B.20

C.1000

D.0

点击查看答案
第5题
下列程序执行后,变量S的值为______ 。 Dim s As Long,X As Integers=0X=1Do Whilex<10s= s+ xx=x+

下列程序执行后,变量S的值为______ 。 Dim s As Long,X As Integer s=0 X=1 Do While x<10 s= s+ x x=x+2 Loop Print s

A. 10

B.25

C.50

D.100

点击查看答案
第6题
下列程序执行后,变量a的值为Dim a,b,C,d as singlea=100:b=20:c=1000if b>a Thend=a:a=b:b=dEnd

下列程序执行后,变量a的值为 Dim a,b,C,d as single a=100:b=20:c=1000 if b>a Then d=a:a=b:b=d End if if c > a Then d=b:b=c:c=d End if

A.0

B.1000

C.20

D.100

点击查看答案
第7题
下列程序执行后,变量X的值为()。Dim fl,b,C,d As SingleDim X As Singlef1=10b=30c=400If b>

下列程序执行后,变量X的值为()。

Dim fl,b,C,d As Single

Dim X As Single

f1=10

b=30

c=400

If b>fl Then

d=fl:fl=b:b=d

End If

If b>C Then

X=b

Else If fl>c Then

X=c

Else

X=a

End If

A.10

B.30

C.400

D.430

点击查看答案
第8题
下列程序执行后,变量a的值为()。Dim a,b,c,d as singlea=100b=20c=1000if b>a Then d=a:a=b:b=dE

下列程序执行后,变量a的值为()。 Dim a,b,c,d as single a=100 b=20 c=1000 if b>a Then d=a:a=b:b=d End if if c>a Then d=a:a=c:c=d End if if c>b Then d=b:b=c:c=d End if

A.0

B.1000

C.20

D.100

点击查看答案
第9题
(23)下列程序执行后,变量x的值为 。 Dim a,b,c,d As Single Dim x As Single a=10 b=30 c=400 I
f b>a Then d=a:a=b:b=d End If If b>c Then x=b Elself a>c Then x=c Else x=c End IfA.10 B.30 C.400 D.430

点击查看答案
第10题
下列程序执行后,变量x的值为()。Dima,b,c,d As SingleDim x As Singlea=100b=20c=1000Ifb>a Thend

下列程序执行后,变量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

点击查看答案
第11题
下列程序执行后,变量X的值为()。 Dim a,b,C,d As Single Dim X As Single f1=10 b=30 c=400 If
b>fl Then d=fl:fl=b:b=d End If If b>C Then X=b Else If fl>c Then X=c Else X=a End If

A.10

B.30

C.400

D.430

点击查看答案
账号:
你好,尊敬的用户
复制账号
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
欢迎分享答案

为鼓励登录用户提交答案,简答题每个月将会抽取一批参与作答的用户给予奖励,具体奖励活动请关注官方微信公众号:简答题

简答题官方微信公众号

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
简答题
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反简答题购买须知被冻结。您可在“简答题”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
简答题
点击打开微信