Your method isn't working as you expected because the expression "S" || "s" || "N" || "n"
is the same as "S"
because of short circuit.
You have to compare it with the candidate strings one by one:
if (strcmp(resposta, "S") == 0
|| strcmp(resposta, "s") == 0
|| strcmp(resposta, "N") == 0
|| strcmp(resposta, "n") == 0)
{
printf("Resposta = S");
}