Homework assignment #2 Create a Windows application that calculates the cost of operating electrical devices. The cost of electricity used by a device is calculated by the formula: Cost of electricity- wattage of device x hours used 1000 x cost per kWh (in cents) The application should allow the user to enter the name of the device, the wattage of the device, and the number of hours the device is used. Let's assume that the cost per kWh of electricity is 12 cents. Include a button labelled "Display Device Cost". When this button is clicked, the program displays device name, hours used and cost of electricity used by the device. This information is displayed in a listbox The user should be able to clear all entries and close the program using buttons. In case the user enters invalid values for the input needed to calculate cost, the program should display an error message. In addition, the program should keep summary information about all devices processed during a session. When the user clicks a button labeled Display Total Cost", display count of devices processed and total cost of electricity used by all devices. This information is displayed in the Homework assignment #2 Create a Windows application that calculates the cost of operating electrical devices. The cost of electricity used by a device is calculated by the formula: Cost of electricity- wattage of device x hours used 1000 x cost per kWh (in cents) The application should allow the user to enter the name of the device, the wattage of the device, and the number of hours the device is used. Let's assume that the cost per kWh of electricity is 12 cents. Include a button labelled "Display Device Cost". When this button is clicked, the program displays device name, hours used and cost of electricity used by the device. This information is displayed in a listbox The user should be able to clear all entries and close the program using buttons. In case the user enters invalid values for the input needed to calculate cost, the program should display an error message. In addition, the program should keep summary information about all devices processed during a session. When the user clicks a button labeled Display Total Cost", display count of devices processed and total cost of electricity used by all devices. This information is displayed in the