Professional Documents
Culture Documents
Visual Basic
Visual Basic
Private Sub Command3_Click() Print "Guru Gobind Singh IP University" End Sub
Private Sub Command4_Click() Print "Ideal Institute of Management & Technology End Sub
Private Sub Command2_Click() Dim a, b, r As Integer a = Val(Text1.Text) b = Val(Text2.Text) r=a-b Text3.Text = r End Sub
Private Sub Command3_Click() Dim a, b, r As Integer a = Val(Text1.Text) b = Val(Text2.Text) r=a/b Text3.Text = r End Sub