A entrada C é ignorada

scanf(" %c", &answer);
       ^
Defeated Dugong