int ch ; S1 22.
I
ch=getche() ; J!?hajw7N
if((ch>='a') && (ch<='z')) (_^pX
printf("%c is a lowercase letter\n" ,ch); sFNB rL
else if ((ch>='A') && (ch<='Z')) )4oTA@wR
print(" %c is a uppercase letter\n" ,ch); ia.9 5H;
else if((ch>'0')&&(ch<'9')
NYwE=b~I
printf(" %c is a number character between 0 and 9\n" ,ch) ; ?)=A[
else n W2[x;
printf("%c is...") 8BUPvaP<[
"b&[W$e
外面再加个循环就行了