D first semester junior year?

<p>I got a D first semester of my junior year in precalc in high school. I switched into IB math studies second semester and got a C. I'm retaking precalc my senior year. Can I still get into cal states? I'm just freaking out because even though I'm retaking it this year the grade won't be replaced by the time I send in my applications :(</p>