Hi May,
You want the probability that the student did not get a C. To get this, you can use the complement rule. First, look at the table for the number of students who DID get a C. This is 23. Now, you were not asked about gender, so we can ignore that. Next, you need the total number of students. This is 65. So, probability that student got a C is:
P(C)=23/65
Now, complement rule implies that if 23 students of 65 got Cs, then (65-23) students did not. Thus:
P(non-C)= (65-23)/65
P(non-C)=42/65
I hope this helps.