Problem

In Exercises 69 and 70, write an event procedure with the header Private Sub btnDisplay_...

In Exercises 69 and 70, write an event procedure with the header Private Sub btnDisplay_Click(...) Handles btnDisplay.Click, and having one, two, or three lines for each step. Lines that display data should use the given variable names.

Walk-a-Thon The following steps calculate the amount of money earned in a walk-a-thon:

(a) Declare the variables pledge and miles as type Double.

(b) Request the amount pledged per mile from an input dialog box, and assign it to the variable pledge.

(c) Request the number of miles walked from an input dialog box, and assign it to the variable miles.

(d) Display a sentence giving the amount to be paid.

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