There's another issue. Every once affordable community college in te country wants to be seen as a 4 year university and the costs have risen accordingly.
Our local formerly Jackson Community College is now Jackson College with dorms so kids don't need to commute 20 minutes from outlying areas of the county.
The local community college is about a mile and a half next to a hotel- a Days in or Red Roof- they just changed so I don't know which one.
When the weather is inclement - I mean snow or sleet, if,you show a school ID you get a room on the cheap, so you don't have to drive home in a blizzard, if they don't cancel classes. I know 40 might be a lot to some but it does save lives.
There are other hotels that are more expensive around too that offer discount rates to students but we are talking Hyatt, Radison,W, etc.