Despite being a smart person, I've never been the kind of A type personality who does well at school. The environment just doesn't suit me. I don't know why. I've been told I have ADHD, but I do fine and manage time well when I'm in an actual job setting with stakes.
I'm in college now and have just been told I won't be receiving my CS degree. I came in as an English major because my grades weren't good enough to enter the competitive CS program at my school, so I just took CS courses on override. But here too, my grades were not good enough and I won't be allowed to transfer into the major. I'll have to settle for an informatics degree, and after graduation get a CS degree from WGU or something like that.
I suppose I'm looking for validation from anybody else who had a tortured academic path. I'm a little sick of being told I am not good enough because I don't meet the metrics.
~5 years after college, I learned to code, and it's been a passion since. 7 years after college, I started a path I am still on to become proficient at math and science. I am still on that path. I"m 37, and am in a coffee shop reading a paper about interpretations of electron charge distribution. At home, I am coding general relativity and chemistry sims. I had no interested in this sort of thing while I was in school, and if I'd pursued them, I almost surely would have failed out.
I have a well-rounded math*+science+engineering background and knowledge base now, but it was almost entirely from self-study.
Good luck!
*Math in terms of the sort you'd need for science or engineering. I think the abstract stuff may be beyond me forever, in the way functional programming is. I think you need a certain level or type of intelligence for that.*