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.
Price of Ketchup The following steps compute the price of ketchup:
(a) Declare the variable item as type String. Declare the variables regularPrice and discount as type Double.
(b) Assign “ketchup” to the variable item.
(c) Assign 1.80 to the variable regularPrice.
(d) Assign .27 to the variable discount.
(e) Display the phrase “1.53 is the sale price of ketchup.”
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.