I also was very concerned about cost when going college, so I went with the cheapest route possible and also worked a job during college. I went to community college for 2 years while living at my parent's house, which was very cheap, it cost about $1000 per year for that. Then I transferred to a cheaper in-state school, in my case it was one in the California State University system (CSU) which is way cheaper though not quite as well known as the UC system (UC Berkeley is part of that system), which cost me about 10k per year for the final 2 years.
In all I was able to get through college with no debt and a degree in Computer Science for a total cost of 22k. I think there is a mindset that students should always attend the best possible school that they are admitted to, but this seems pretty dumb to me as they are usually expensive for big brand names and in the end you receive the same degree and learn the same things.
What I did also happened in California, I think some states have even cheaper paths through college if you go with the community college + in-state university route.