Bijan Krishna Paul
VILL- DEBANDI, AMTA, HOWRAH PIN-711410 Phone-9836357266
Tuesday, February 19, 2019
Get input using inputbox, and then sum of two numbers and print using msgbox in vb6(visual basic)
Private Sub Form_Load()
Dim a, b, c As Integer
a = Int(InputBox("enter a number"))
b = Int(InputBox("enter a number"))
c = a + b
MsgBox (c)
End Sub
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment