填空题
VB
题号 #484563
在下面的程序中,要求循环体执行4次,请填空。
Private Sub Command1_ Click()
x=1
Do While ____
x=X+2
Loop
End Sub
参考答案
暂无
答案解析
x<8或x<=7或x<=8或x<9【分析】循环控制变量x的初值为l,每执行一次循环,其值增加2。
你可能感兴趣的试题
A.Private Sub Text1_lick()
Label 1.Caption=Text 1.Text
End Sub
Label 1.Caption=Text 1.Text
End Sub
B.Private Sub Text1_hange()
Label1.Caption=Text1.Text
End Sub
Label1.Caption=Text1.Text
End Sub
C.Private Sub Labe1 l_hange()
Label 1.Caption=Text 1.Text
End Sub
Label 1.Caption=Text 1.Text
End Sub
D.Private Sub Labl l_Click()
Label 1.Caption=Text1.Text
End Sub
Label 1.Caption=Text1.Text
End Sub
A.Private Sub List1_Click()
Label1.Caption=List1.ListIndex
List 1.RemoveItem List 1.Text
End Sub
Label1.Caption=List1.ListIndex
List 1.RemoveItem List 1.Text
End Sub
B.Private Sub List1_Click()
Label1.Name=List1.ListIndex
List1.RemoveItem List1.Text
End Sub
Label1.Name=List1.ListIndex
List1.RemoveItem List1.Text
End Sub
C.Private Sub List1_Click()
Label 1.Caption=List 1.Text
List 1.RemoveItem List 1.ListIndex
End Sub
Label 1.Caption=List 1.Text
List 1.RemoveItem List 1.ListIndex
End Sub
D.Private Sub List1_Click()
Label1.Name=List1.Text
List1.RemoveItem List1.ListIndex
End Sub
Label1.Name=List1.Text
List1.RemoveItem List1.ListIndex
End Sub