#include <stdio.h> int main(void) { char mystr; scanf("%c",&mystr); while (mystr!='a') { if (mystr == '\n') { printf("It is a Enter.\n"); } else { printf("11111\n"); } scanf("%c",&mystr); } printf("22222"); return 0; }