Visual Basic Program for Addition, Subtraction, Multiplication
Write a visual basic program with examples for addition, subtraction, multiplication, and division of two numbers.
Visual basic program for addition, subtraction, multiplication and division of two numbers.Private sub cmdClear_Click ()Text1.Text = ""Text2.Text = ""Text3.Text = ""Text1.SetFocusend SubPrivate sub cmdExit_Click ()drop me offend SubPrivate sub mnuadd_Click ()Text3.Text = Val (Text1.Text) + Val (Text2.Text)end SubPrivate sub mnuDiv_Click ()Text3.Text = Val (Text1.Text) / Val (Text2.Text)end SubPrivate sub mnuMult_Click ()Text3.Text = Val (Text1.Text) * Val (Text2.Text)end SubPrivate sub mnusub_Click ()Text3.Text = Val (Text1.Text) - Val (Text2.Text)end SubVisual Basic Program for Addition, Subtraction, MultiplicationWrite a visual basic program with examples for addition, subtraction, multiplication, and division of two numbers.
Visual basic program for addition, subtraction, multiplication and division of two numbers.Private sub cmdClear_Click ()Text1.Text = ""Text2.Text = ""Text3.Text = ""Text1.SetFocusend SubPrivate sub cmdExit_Click ()drop me offend SubPrivate sub mnuadd_Click ()Text3.Text = Val (Text1.Text) + Val (Text2.Text)end SubPrivate sub mnuDiv_Click ()Text3.Text = Val (Text1.Text) / Val (Text2.Text)end SubPrivate sub mnuMult_Click ()Text3.Text = Val (Text1.Text) * Val (Text2.Text)end SubPrivate sub mnusub_Click ()Text3.Text = Val (Text1.Text) - Val (Text2.Text)end Sub
Visual basic program for addition, subtraction, multiplication and division of two numbers.Private sub cmdClear_Click ()Text1.Text = ""Text2.Text = ""Text3.Text = ""Text1.SetFocusend SubPrivate sub cmdExit_Click ()drop me offend SubPrivate sub mnuadd_Click ()Text3.Text = Val (Text1.Text) + Val (Text2.Text)end SubPrivate sub mnuDiv_Click ()Text3.Text = Val (Text1.Text) / Val (Text2.Text)end SubPrivate sub mnuMult_Click ()Text3.Text = Val (Text1.Text) * Val (Text2.Text)end SubPrivate sub mnusub_Click ()Text3.Text = Val (Text1.Text) - Val (Text2.Text)end SubVisual Basic Program for Addition, Subtraction, MultiplicationWrite a visual basic program with examples for addition, subtraction, multiplication, and division of two numbers.
Visual basic program for addition, subtraction, multiplication and division of two numbers.Private sub cmdClear_Click ()Text1.Text = ""Text2.Text = ""Text3.Text = ""Text1.SetFocusend SubPrivate sub cmdExit_Click ()drop me offend SubPrivate sub mnuadd_Click ()Text3.Text = Val (Text1.Text) + Val (Text2.Text)end SubPrivate sub mnuDiv_Click ()Text3.Text = Val (Text1.Text) / Val (Text2.Text)end SubPrivate sub mnuMult_Click ()Text3.Text = Val (Text1.Text) * Val (Text2.Text)end SubPrivate sub mnusub_Click ()Text3.Text = Val (Text1.Text) - Val (Text2.Text)end Sub
Write a visual basic program with examples for addition, subtraction, multiplication, and division of two numbers.
Visual basic program for addition, subtraction, multiplication and division of two numbers.
Private sub cmdClear_Click ()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text1.SetFocus
end Sub
Private sub cmdExit_Click ()
drop me off
end Sub
Private sub mnuadd_Click ()
Text3.Text = Val (Text1.Text) + Val (Text2.Text)
end Sub
Private sub mnuDiv_Click ()
Text3.Text = Val (Text1.Text) / Val (Text2.Text)
end Sub
Private sub mnuMult_Click ()
Text3.Text = Val (Text1.Text) * Val (Text2.Text)
end Sub
Private sub mnusub_Click ()
Text3.Text = Val (Text1.Text) - Val (Text2.Text)
end Sub
0 Comments