2009-03-23
展开全部
Private Sub Command1_Click()
Dim n As Integer
Dim i As Integer
Dim j As Integer
n = 4
For i = 0 To n - 1
For j = -i To i
Print CStr(i + 1 - Abs(j));
Next j
Print
Next i
End Sub
等腰的
Private Sub Command1_Click()
Dim n As Integer
Dim i As Integer
Dim j As Integer
n = 4
For i = 0 To n - 1
For j = i To n - 1
Print " ";
Next j
For j = -i To i
Print CStr(i + 1 - Abs(j));
Next j
Print
Next i
End Sub
Dim n As Integer
Dim i As Integer
Dim j As Integer
n = 4
For i = 0 To n - 1
For j = -i To i
Print CStr(i + 1 - Abs(j));
Next j
Next i
End Sub
等腰的
Private Sub Command1_Click()
Dim n As Integer
Dim i As Integer
Dim j As Integer
n = 4
For i = 0 To n - 1
For j = i To n - 1
Print " ";
Next j
For j = -i To i
Print CStr(i + 1 - Abs(j));
Next j
Next i
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询