changing major

I am at a community college right, and I plan on applying to CSU’s this October for fall 2020 for Computer Science. I chose this major because I enjoy programming and would like to pursue this career with a degree that would hopefully help me in this field. Right now I’m taking calc 1. In the previous math, computer, and other general classes I have gotten A’s. However, I am not doing so well in calc 1 and I don’t see myself receiving a grade higher than a C. I study for over 3 hours a day, practice problems given in the review along with other problems, and feel like I have a good understanding of calculus, but when I take the exams, it’s like the practice problems but on crack. My grade for this class is only based on 6 exams. I don’t know if I will be accepted for Computer Science for the schools I’m applying to because of the grade so I’m wondering if I should just change my major to psychology or sociology and minor in computer science.