create an application that is similar to the sample program for water consumer but is in the context of electricity consumption. the program should involve appropriate methods.