A.1
B.10
C.50
D.100
[单选题]下列程序执行后,变量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 ifA.0B.1000C.20D.100
[单选题]下列程序执行后,变量S的值为______ 。 Dim s As Long,X As Integer s=0 X=1 Do While x<10 s= s+ x x=x+2 Loop Print sA. 10B.25C.50D.100
[单选题]下列程序执行后,变量x的值为( )。D.im a,b,c,d As SingleD.im x As Singlea=10b=30c=400If b>a Thend=a:a=b:b=dE.nd IfIf b>c Thenx=bE.lse If a>c Thenx=cE.lsex=aE.nd IfA.10B.30C.400D.430
[单选题]下列程序执行后,变量S的值为 Dim s As Long,x As Integer s=0 For x=1 To 10 Step 2 s=s+x Next x Text1.Text=sA.10B.25C.50D.100
[单选题]下列程序执行后,变量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 IfA.10B.30C.400D.430
[单选题]下列程序执行后,变量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 IfA.10B.30C.400D.430
[单选题]下列程序执行后,变量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 IfA.100B.20C.1000D.0
[单选题](23)下列程序执行后,变量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 Elself a>c Then x=c Else x=c End IfA.10 B.30 C.400 D.430
[单选题]执行以下程序段后,x的值为( )。 Dim x As Integer,i As Integer x=0 For i=20 To 0 Step -2 x=x+i/5 Next iA.16B.17C.18D.19
[单选题]执行以下程序段后,变量i的值为()。A . 24B . 14C . 12D . 13