int ch ; ]Zz<9zix
ch=getche() ; 26\*x
if((ch>='a') && (ch<='z')) x1ID6kI[{*
printf("%c is a lowercase letter\n" ,ch); /DQcM.3
else if ((ch>='A') && (ch<='Z')) !B\[Q$
print(" %c is a uppercase letter\n" ,ch); ;r
XhK$
else if((ch>'0')&&(ch<'9') ^Wz3 q-^
printf(" %c is a number character between 0 and 9\n" ,ch) ; qnZ`]?
else *tZ#^YG{(
printf("%c is...") Q`X5W
S.Fip_
外面再加个循环就行了