diff --git a/ex14.c b/ex14.c index 23292e1..403769b 100644 --- a/ex14.c +++ b/ex14.c @@ -20,7 +20,7 @@ void print_letters(char arg[], int nchars) for (i = 0; i < nchars; i++) { char ch = arg[i]; - if(isalnum(ch) || isblank(ch)) { + if(isalpha(ch) || isblank(ch)) { printf("'%c' == %d ", ch, ch); } }