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.
The following steps calculate the percent increase in the cost of a typical grocery basket of goods:
(a) Declare the variables begOfYearCost, endOfYearCost, and percentlncrease as type Double.
(b) Assign 200 to the variable begOfYearCost.
(c) Request the cost at the end of the year with an input dialog box, and assign it to the variable endOfYearCost.
(d) Assign (endOfYearCost – begOfYearCost) / begOfYearCost to the variable percentIncrease.
(e) Display a sentence giving the percent increase for the year.
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.