Private Sub Command1_Click()
Dim a() As Integer
n = InputBox("N=")
ReDim a(0 To n) As Integer
a(0) = 1
For i = 闹竖顷0 To n
纤禅Print Space(3 * (n - i));
For 液陆j = i To 1 Step -1
a(j) = a(j - 1) + a(j): Print Format(a(j), "@@@@@@");
Next j
Print Format(a(0), "@@@@@@")
Next i
End Sub