怎么用vb打印出来?
1个回答
展开全部
Private Sub Form_Click()
Dim i As Integer, j As Integer
For i = 0 To 6
If i > 3 Then
Print Tab(13 - 2 * i);
For j = 1 To (i - 3) * 2 - 1
Print "* ";
Next
Else
Print Tab(2 * i + 1);
For j = 1 To (3 - i) * 2 - 1
Print "* ";
Next
End If
Next
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询