There are two sides:
One side is are the requirements in terms of degrees.
Another side are your skills.
Since the first one depends on criteria I can only assume, I want to say something to skills.
My school grades were not "that great", especially in math.
Then I started my degree in computer science and it was very math based.
Now I love math and theoretical CS and see coding just as a tool.
When you have a good grasp at math, algorithms and stuff, learning a programming language is not that hard.
Since you are still in school my suggestion is that you use your time to build the foundation and try to gain some understanding in math and natural sciences.
That way you learn ways of thinking that may help you later.