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
        Dim a, b, c, d As Integer
        d = 173
        a = d \ 10
        d = d Mod 10
        b = d \ 5
        d = d Mod 5
        c = d \ 1
        Response.Write("10元共" & a & "個
")
        Response.Write("5元共" & b & "個
")
        Response.Write("1元共" & c & "個")
    End Sub
End Class



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

    arthurliu's blog

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