All scanf() specifiers except "%c", possibly "%[...]", and (for very different reasons) "%n" ignore leading whitespace.
Type: Posts; User: qny
All scanf() specifiers except "%c", possibly "%[...]", and (for very different reasons) "%n" ignore leading whitespace.
Print the value (and character) of the answer to the second question:
printf("Continue?(y/n): ");
scanf("%c", &answer);
printf("you answered with the character with...