vb的题,写出程序运行后,单击窗体,Form1上的输出结果?
PrivateSubForm_click()DimxAsStringDimiAsInteger,nAsIntegerForm1.Clsx="ABCDEFGHKL"n=Le...
Private Sub Form_click()
Dim x As String
Dim i As Integer, n As Integer
Form1.Cls
x = "ABCDEFGHKL"
n = Len(x)
For i = n To 1 Step -2
Form1.Print Tab(20 - i); Mid(x, i, 1)
Next i
End Sub 展开
Dim x As String
Dim i As Integer, n As Integer
Form1.Cls
x = "ABCDEFGHKL"
n = Len(x)
For i = n To 1 Step -2
Form1.Print Tab(20 - i); Mid(x, i, 1)
Next i
End Sub 展开
4个回答
展开全部
不错呀 呵呵 顶
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询