Request the amount pledged per mile from an input dialog


write an event procedure with the header Private sub bennisplay_ 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-thou:

(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.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Request the amount pledged per mile from an input dialog
Reference No:- TGS02211684

Expected delivery within 24 Hours