I took a few CS classes while studying engineering undergrad. I also have a grad degree in Industrial Engineering from Columbia U. Now-a-days, I develop software and apps.
The training in mathematics, operations research, and mathematical modeling has been extremely helpful in the way I approach and solve computer science problems. It has helped with everything from smart SQL queries to developing scalable software and enterprise architecture for software.