I am afraid that, since I have a low UW gpa and class rank, I can't get into a good computer science program. What should I do?

For the UC’s, CS would require higher GPA and have lower admit rates so a Capped weighted GPA of 4.01 would make you competitive at UC Merced, Riverside, Santa Cruz and possibly Davis.

You will be reviewed in the context of your HS, your HS course rigor, essays, EC’s etc…