to 86lemonade68: yes, maths instead of computer science could work, in my view. Just make sure you learn about ECMA-script compliant languages and object oriented programming on your own (if you understand math you’ll be able to pick up on this fast enough). I program games in Lua and fifty percent of the work is math and logic either way.
to Max: I’m a hobby Corona programmer, used to be a teacher for 5 years and now founder and associate in a 20-man design studio in Belgium. Both as a teacher and as someone who hires people, I have never been impressed by grades. 95 percent of my students had good grades and arrived in my year, or arrived at our studio’s doorstep. No big deal. They’re okay, sometimes great, but somehow alike all of the others.
The other 5 percent stands out. Because they like to build log cabins and treehouses. Because they travelled across the world for a year. Because they actually studied psychology but wanted to work in design so they educated themselves (no degree, past experience or diploma whatsover, just a portfolio made in their spare time). Because they failed everything they did in college, worked for five years and then decided to try college again, which shows courage and motivation. Because they left their country because there was no work or future there. Because they work with disabled children in their weekends.
These are the people that know how to make things happen, how to get things moving, how to work together, how to think around problems. How to do things in ways nobody else knows about.
These people catch our eye a lot faster than the other 95 percent, so don’t overestimate the importance of grades or diplomas. We hire based ONLY on portfolio and personality. The standard school curriculum does not show personality, even if your grades are super-high.
Now, mind you, there are definitely companies that are actively searching for employees that try to excel within the constraints or standards set by other people. These companies look for profiles that try to demonstrate this by getting high grades within the curriculum. But our designstudio and the school where I taught values the creative “exceptionals”.
And these are generally the “cooler” places to work 
p.s. Either way, wether you excel by getting high grades or by doing your own thing really well, hard work and dedication shows. There’s no substitute for this!