int ch ; iY/KSX^~O
ch=getche() ; B7-RU<n
if((ch>='a') && (ch<='z')) 9f}XRz
printf("%c is a lowercase letter\n" ,ch); )06iV
else if ((ch>='A') && (ch<='Z')) "n\%_'R\hH
print(" %c is a uppercase letter\n" ,ch); E)t
else if((ch>'0')&&(ch<'9') 4R ) |->"
printf(" %c is a number character between 0 and 9\n" ,ch) ; <3O T>E[
else "!Rw)=7O
printf("%c is...")
I7\
&Z q
FFGqa&
外面再加个循环就行了