下列程序执行后,变量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
下列程序执行后,变量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
相关考题:
下列程序执行后,变量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
执行下列程序后,变量s的值是( )。SET TALK OFFCLEARx=〝l2345〞s=〝〞1=LEN(x)DO WHILE l>;1x1=SUBSTR(x,1-1,2)s=s+x11=l-2ENDD0?sA.2345B.4523C.54321D.45231
14、下列程序执行后,变量s的值为______。 Dim i%, j%, s% j = 1 s = 0 For i = 4 To 1 Step -1 s = s + i * j j = j * 10 Next iA.4B.24C.1234D.4321
下列程序执行后,变量s的值为______。 Dim i%, j%, s% j = 1 s = 0 For i = 4 To 1 Step -1 s = s + i * j j = j * 10 Next iA.4B.24C.1234D.4321