Are you interested in hardware or software? Yes an electrical engineer can program however the focus tends to be more on lower level coding e.g. C, C++, embedded C, assembly and other goodness associated with device drivers, real time control systems and the such. If you just want to program...