运行下面的程序段: Fork=5 to 10 Step 2 k=k*2 Next k 则循环次数为:______。A.1B.2C.3D.4
运行下面的程序段: Fork=5 to 10 Step 2 k=k*2 Next k 则循环次数为:______。
A.1
B.2
C.3
D.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 S=5 TO S=10 Step 1 S=2*S Next S 该循环执行的次数为______。A.1B.2C.3D.4