1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jasenka [17]
4 years ago
9

Design and implement a GUI application that uses text fields to obtain two integer values (one text field for each value) along

with a button named "display" to display the sum and product of the values. Assume that the user always enters valid integer values as inputs.

Computers and Technology
1 answer:
melomori [17]4 years ago
3 0

Answer:

Public Class Form1

   Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

       Dim sum, product, num1, num2 As Integer

       num1 = Val(TextBox1.Text)

       num2 = Val(TextBox2.Text)

       sum = num1 + num2

       product = num1 * num2

       TextBox3.Text = sum

       TextBox4.Text = product

   End Sub

End Class

  • Explanation:
  • The solution is implemented in Visual Basic Programming Language
  • Two textboxes are created to receive the user's input and two textboxes for displaying sum and product respectively
  • Each of these controls are appropriately labeled (See the attached GUI interface)
  • The Sum is calculated by adding the values from textbox1 and 2
  • The product is calculated by multiplying both

You might be interested in
A person who drives under the influence of alcohol or drugs
FinnZ [79.3K]

Has lost the ability to make wise decisions and is a risk and danger on the road

8 0
3 years ago
Read 2 more answers
While conducting routine maintenance, you discover a network server that needs to
patriot [66]

Answer:

tell the truth and make other people aware of what is going on inorder for them to also be hands on deck and come up with solutions to also help solve the problem

3 0
2 years ago
1-5 Safety measures in the use of kitchen tools and equipment.​
gladu [14]

Answer:

Safety measures are as follows;

Explanation:

  • Hold the delicate instruments cautiously to use them.
  • Require appropriate use of the equipment in the kitchen.
  • Users should remove these defective instruments or discard of them.
  • During and before use, check that perhaps the resources that will be used are indeed safe.
  • In a cold and dry spot, all equipment must be kept.
4 0
3 years ago
Each drop-down menu.
solniwko [45]

'Splitting' involves dividing a single column into multiple columns.

'Validation' involves checking the data for correctness. (there slight possibility I am wrong for this one)

I hope I provided some great assistance for you, have a good day, young programer.

7 0
3 years ago
Which type of lenses shrinks the image in front of it rather than magnifying it? A)Telephoto B)Optical zoom C)Digital zoom D)Wid
Bingel [31]

Answer:

D. Wide angle

Explanation:

Wide angle camera is specifcally designed to shrinks the image using the lens with  smaller focal length compared to average camera.This type of camera is commonly used to capture wider area of scenery. Or to give an impression that the objects that near the camera seems larger than they actually are.

8 0
3 years ago
Other questions:
  • Which of the following are unsponsored Internet domain extensions? .museum .gov .edu none of the above
    8·2 answers
  • Dfd symbols are referenced by using all ____ letters for the symbol name.
    9·1 answer
  • A ________ editor was the dominant way film was edited up until the early '90s.
    7·2 answers
  • A program is run line by line to determine the source of a logic error. Which best describes the specific tool being used? (A.)c
    5·1 answer
  • Describe the six clauses in the syntax of an SQL retrieval query. Show what type of constructs can be specified in each of the s
    14·1 answer
  • Computers that have multiple CPUs within a single computer, sharing some or all of the system's memory and I/O facilities, are c
    15·1 answer
  • What is ABC computer?​
    14·1 answer
  • An array name is a pointer constant because the address stored in it cannot be changed during runtime.
    8·2 answers
  • Luke is working on a layout for a catalog. He adds cross lines on the four corners of the layout to mark out a small extra margi
    11·1 answer
  • Which hardware component interprets and carries out the instructions contained in the software.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!