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