Let me guess: you want to check if resp1 is equal to "answer1" or "answer2". The solution is to write:

if (strcmp(resp1, "answer1") == 0 || strcmp(resp1, "answer2") == 0)
But really, you should...