Ouch, this is a tough situation. Go into the community college administration office and see if you can withdrawal or cancel your enrollment. Most schools it's too late to just get a W for a single course, but you may be able to cancel your enrollment, which would result in all W ''s in all classes enrolled in... Since you're taking one class, it will result in the one W.
If that doesn't work, and your professor won't pass you with a C then you're ****ed and be at the mercy of the school that accepted you. Don't hide it, tell them ASAP.