请问这题的怎么写vb编程?

请问这题的怎么写vb编程
2024-11-19 18:33:44
推荐回答(1个)
回答1:

Private Sub Form_Click()

  s = vbCrLf

  For i = 1 To 5

    s = s & String(8 - i, "基族陆 ") & String(2 * i - 1, "*"穗猜) & vbCrLf

  Next i

  For i = 4 To 1 Step -1

 搏顷   s = s & String(8 - i, " ") & String(2 * i - 1, "*") & vbCrLf

  Next i

  Label1.Caption = s

End Sub


Private Sub Form_Load()

  Label1.Caption = ""

End Sub