Problem

In Exercises 33 through 36, write an event procedure with the header Private Sub btnDisp...

In Exercises 33 through 36, write an event procedure with the header Private Sub btnDisplay_Click(...) Handles btnDisplay.Click, and having one line for each step. Display each result by assigning it to the txtOutput.Text property. Lines that display data should use the given variable names.

Inventor The following steps give the name and birth year of a famous inventor:

(a) Declare the variables firstName, middleName, and lastName as String. Declare the variable yearOfBirth as type Integer.

(b) Assign “Thomas” to the variable firstName.

(c) Assign “Alva” to the variable middleName.

(d) Assign “Edison” to the variable lastName.

(e) Assign 1847 to the variable yearOfBirth.

(f) Display the inventor’s full name followed by a comma and his year of birth.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search