close

Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        For i As Integer = 1 To 4
            For j As Integer = 1 To (2 * i - 1)
                Response.Write("*")
            Next
            Response.Write("
")
        Next

        For i As Integer = 3 To 1 Step -1
            For j As Integer = (2 * i - 1) To 1 Step -1
                Response.Write("*")
            Next
            Response.Write("
")
        Next
    End Sub
End Class



arrow
arrow
    全站熱搜
    創作者介紹
    創作者 arthurliu 的頭像
    arthurliu

    arthurliu's blog

    arthurliu 發表在 痞客邦 留言(0) 人氣()