As others have stated, there is a single '\n' character in the input stream left over from your earlier call to scanf(). The Standard Library
Fortunately, the standard library function fpurge(FILE *stream) erases any input or output buffered in the given stream. TheWhen placed anywhere between your calls to scanf() and getchar(), the following shouldwill rid stdin of anything left in the buffer:
printf("Do you want to try another number? Say Y(es) or N(o): ");
fpurge(stdin);
response = getchar();