Should I attend community college for 2 years then transfer to UC Davis or go to CU Boulder?

Cuesta College is located in San Luis Obispo. It’s about 5 miles from Cal Poly SLO (or a 10 minute car ride).