int ch ; 9v~1We;{$
ch=getche() ; ?VwK2w$&={
if((ch>='a') && (ch<='z')) `FUFK/7
w\
printf("%c is a lowercase letter\n" ,ch); DVObrL)znL
else if ((ch>='A') && (ch<='Z')) S?*^>Y-e;
print(" %c is a uppercase letter\n" ,ch); ( "_Q
else if((ch>'0')&&(ch<'9') ZV!R#Xv
printf(" %c is a number character between 0 and 9\n" ,ch) ; 'sj9[o@]
else QTVa
printf("%c is...") 3PsxOb+
d,)}+G
外面再加个循环就行了