---------------------------
第一題 時分秒
---------------------------
2:46:40
---------------------------
確定
---------------------------
↑圖出不來
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim t = 10000
Dim sec = t Mod 60
Dim minute = t \ 60 Mod 60
Dim hour = t \ 3600
MsgBox(hour & ":" & minute & ":" & sec)
End Sub
End Class
沒有留言:
張貼留言