运行下面的程序段: Fork=5to 10 Step 2 k=k*2 Next k 则循环次数为:______。A.1B.2C.3D.4

运行下面的程序段: Fork=5to 10 Step 2 k=k*2 Next k 则循环次数为:______。

A.1

B.2

C.3

D.4


相关考题:

运行下面的程序段:For k=5 to 10 Step 2k=k*2Next k则循环次数为:A.1B.2C.3D.4

运行下面的程序段: For k=5to 10 Step 2 k=k*2 Next k 则循环次数为:______。A.1B.2C.3D.4

下面程序段循环次数是( )。 For k=2 to 10 step 2 k=k*2 Next kA.1B.2C.3D.4

下列程序段的执行结果为 ______。 N=10 For K=N To 1 Step-1 X=Sqr(K) X=X-2 Next K Print X-2A.-3B.-1C.1D.1.16228

23 有如下程序段,该程序段循环的次数是______。 Dim i As Integer Dim j As Integer Dim k As Integer k=0 For i = 0 To 10 Step 3 For j = 1 To 5 If j > 3 Then k = k + 4: Exit For k=k+1 Print k Next j If i > 8 Then Exit For Next iA.9B.10C.11D.12

下面程序段的循环次数是( )。 For k=1 to 10 k=k * 3 Next kA.1B.2C.3D.4

运行下面的程序段: FOR K=15 TO 3 STEP -2 K=K-3 NEXT K 则循环次数为( )。A.1B.2C.3D.4

下列程序段的执行结果为 ______。 N=10 For K=N To 1 Step -1 X=Sqr(K) X=X-2 Next K Print X-2A.-3B.-1C.1D.1.16227765

有如下程序: For i=10 To 1 Step 0 k=k+1 Next i 循环体的执行次数为()。

执行以下程序段,循环结束之后,变量k的值为()。 k= 1; while k <= 2 k =k + 1; end