欧美一区二区三区,国内熟女精品熟女A片视频小说,日本av网,小鲜肉男男GAY做受XXX网站

如何在VB下用FOR循環語句打印出一個倒三角形

方一強2年前23瀏覽0評論

如何在VB下用FOR循環語句打印出一個倒三角形?

Private Sub Command1_Click()Dim i As Long, j As LongDim strTemp As String, strXing As String FOR i = 0 To 3 strXing = "" For j = 1 To (7 - Abs(i) * 2) strXing = strXing & "*" Next strTemp = Space(Abs(i)) & strXing & Space(Abs(i)) Print strTemp Next End Sub

java中打印三角形,如何在VB下用FOR循環語句打印出一個倒三角形