The click event handler for each button calls a method


A gas pump calculates the cost of gas at a local gas station. The station charges $4.09 per gallon for regular grade gas, $4.16 per gallon for special grade gas and $4.26 per gallon for super grade gas. Create an visual basics application that simulates the functionality of the gas pump. The user enters the number of gallons to purchase and clicks the desired grade(each grade is represented by a Button whose Text properties are set to Regular, Special and Super+). The click event handler for each Button calls a method to comute the total cost from the number of gallons entered and the selected grade. [Note: you can use the Text property of each Button to pass the selected grade to your method)

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: The click event handler for each button calls a method
Reference No:- TGS0133098

Expected delivery within 24 Hours