I'm not really sure here - it really depends on what your utility charges.
IN Australia - either is pretty cost preventative. Most people hang on lines, because it is FAR cheaper (and they avoid laundry in wet weather).
Electric resistance heaters operate at 100% efficiency. Gas is somewhere reasonably close.
No dryer will be 100% efficient, due to losses of heat.
A gas dryer may run hotter, producing faster results, and more wear on the clothing.
In terms of cooking, Electric is always better since you don't have an open flame heating up an entire house. Good in the Winter, maybe, but in the Summer it wastes electricity for cooling (and as John said this is bad for the environment, since most electricity is generated from Coal).
I prefer Induction cooktops - which actually use magnetism to vibrate the electrons in your metal cookware. This is FAR more efficient than any stovetop (Around 84% efficiency), and produces no residual heat. Its also quiet, and non-polluting (Very important in the 21st Century with well-sealed homes, where a Gas appliance could make you very sick).