试题

试题 试卷

logo

题型:填空题 题类:常考题 难易度:普通

浙江省湖州市菱湖中学2018-2019学年高二下学期信息技术3月月考试卷

下列VB程序运行时,单击命令按钮Command1后,文本框Text1中显示的内容是:

Private Sub Command1_Click()

Dim x As Integer, m As Integer

m = 3

For x = 1 To 5

   If m > 3 Then m = m + 2 Else m = m - 1

Next x

Text1.Text = Str(m)

End Sub

举一反三
返回首页

试题篮