Withdrawal from a class

I am currently a freshman looking to transfer next fall. I have an F in one of the classes required for my major. Only 4 tests will make up my grade, and I am going to struggle to even get a C. Will a withdrawal look bad to the colleges that I apply to?

I think a withdrawal will look better than a failing grade.

One or two withdrawals as an undergraduate will not hurt you even for grad school. I would take the W. Good luck.