单项选择题
以下程序段执行后,整型变量s的值为()。 s=4 For i=1 To 4 s=s-1 Next i
A.0 B.-1 C.4 D.5
下列程序段中,循环体执行的次数为()。 y=2 Do While y<=8 y=y+y LoopA.2B...
下列程序段中,循环体执行的次数为()。 y=2 Do While y<=8 y=y+y Loop
A.2 B.16 C.4 D.3
下列Visual Basic程序段运行后,变量max的值为()。 a=5:b=10:max=a IF b>ma...
下列Visual Basic程序段运行后,变量max的值为()。 a=5:b=10:max=a IF b>max Then max=b
A.5 B.10 C.5和10 D.以上都不是
在VB语言中,表示“a大于0且b小于12”的正确表达式是()。A.12>b and a>0B.b>12 And...
单项选择题在VB语言中,表示“a大于0且b小于12” 的正确表达式是()。
A.12>b and a>0 B.b>12 And a<0 C.a>12 Or a<0 D.a>0 And b<12