#include <ctype.h> #include <stdio.h> int main(void) { char ch; for(;;) { ch = getc(stdin); if(ch == '.') break; if(isalnum(ch)) printf("%c is alphanumeric\n", ch); } return 0; }