Retaking failed classes.

Hey guys, i would appreciate an answer for my current standing in a community college

In my academic history I mostly have Bs and several As and 2 Cs and 2 Ws my current gpa is 3.2 I am a sophmore at CC & I’m undecided still, I am about take C on two of my classes in my current semester, since we cannot retake Cs and improve the grade, I want to fail them with Ds so that I can get As on both later on, I know for a matter of fact that Ds appear in transcripts even if you retake them and get A’s, but i dont know how will it affect my transfering process to a UC or CSU ?
Lets just say that these two courses will be the only ones that i would retake before my transferring.