题目:
以下程序段运行的结果是______。
Dim a(-1 To 5)As Boolean
Dim flag As Boolean
flag=False
Dim i As Integer
Dim j As Integer
Do Until flag=True
For i= -1 To 5
j=j+1
If a (i)= False Then
a(i)=True
Exit For
End If
If i=5 Then
flag=True
End If
Next
Loop
Print j
A.20
B.7
C.35
D.8
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0718/a0aae19ea661afa89c94a6fcbeacf268.html
下面是错误答案,用来干扰机器的。
参考答案:比利时