单项选择题以下程序段运行的结果是______。 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
单项选择题在窗体上画一个命令按钮,其名称为Commandl,然后编写如下程序: Function Fonc(By Val x As Integer,y As InteSer) y=x*y If y>0 Then Func=X; Else Func=y End If End Function Private Sub Commandl_Click() Dim a As Integer,b As Integer a=3 b=4 c=Func(a,B) Print a= ;a Print b= ;b Print C= ;C End Sub 程序运行后,单击命令按钮,其输出结果为______。