diff --git a/ex14.c b/ex14.c index 403769b..23292e1 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(isalpha(ch) || isblank(ch)) { + if(isalnum(ch) || isblank(ch)) { printf("'%c' == %d ", ch, ch); } }