2个回答
展开全部
Private Sub Form_click()
Dim a(1 To 4, 1 To 4) As String, k As Integer
Dim i As Integer, j As Integer
k = 1
For i = 1 To 4
a(i, 1) = Str(k * 1)
For j = 2 To i
a(i, j) = a(i, j - 1) & j
Next j
k = -1 * k
Next i
For i = 1 To 4
For j = 1 To i
Print a(i, j);
Next j
Print
Next i
End Sub
Dim a(1 To 4, 1 To 4) As String, k As Integer
Dim i As Integer, j As Integer
k = 1
For i = 1 To 4
a(i, 1) = Str(k * 1)
For j = 2 To i
a(i, j) = a(i, j - 1) & j
Next j
k = -1 * k
Next i
For i = 1 To 4
For j = 1 To i
Print a(i, j);
Next j
Next i
End Sub
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
图形呢?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询