Do whatever you enjoy most.
IMO Mechanical Engineering is actually a better choice these days -- we still need HUGE projects -- Green Energy, renewables -- like Wind Turbines, Solar / Electric power etc etc. apart from a lot of civil engineering projects -- constructing Social Housing etc etc.
The need for decent mechanical engineers is endless -- and you will naturally get to use computers etc in your coursework. Engineers still need to know about things like feedback systems, neural networks etc etc as well as a bit of Psychology-- remember USERS will be using your products too - and loads of other skills too -- even having to be a bit of a Salesman -you might have to "Push" your idea or change in a design.
(Note also these jobs CAN'T be off shored either) -- the engineers are always ON SITE.
I graduated in Electrical Engineering rather than Computer Science and never regretted it.
I spent a lot of my Younger days as an Oil Engineer (Electrical Systems) in various parts of the world and really enjoyed it.
I only started in Computer contacting a few years ago -- Money was good and engineering jobs were on the wane --. I'm a bit fed up with IT now -- contract rates forever nudging downwards, you rarely get a contract unless you go via one of the "Useless consultancies" such as Accenture ("Accidenture") and you have to conform to THEIR standards rather than that of the end client -- and of course shedloads of IT jobs are all being outsourced (wrongly IMO) to India etc.
Engineering has picked up a LOT again -- Green projects are HUGE business as well as more conventional projects too. Any country that gives up its Engineering base will inevitably suffer SEVERE consequencies as typified by the recent Banking problems'
If I had young children NOW I certainly wouldn't advise them these days to pick IT as a career path unless they really were in the top 5%.
BTW the first computers were all conceived of by Mechanical Engineers -- the legendary Babbage for example. The Babbage Engine | Computer History Museum