Here is a very simple program that I wrote using Microsoft Visual Basic 6 to ask the user to give two numbers and then our program will compute the product of the two numbers being provided by our user.
My email address are the following jakerpomperada@gmail.com and jakerpomperada@yahoo.com.
Sample Program Output
Program Listing
Private Sub Command1_Click()
Dim product_all
product_all = Val(Text1.Text) * Val(Text2.Text)
Label3.Caption = "The Product of " & Val(Text1.Text) & " and " & Val(Text2.Text) & _
" is " & product_all & "."
End Sub
Private Sub Command2_Click()
End
End Sub
No comments:
Post a Comment