int ch ; L$]Y$yv
ch=getche() ; M\08 7k
if((ch>='a') && (ch<='z')) 0b=00./o
printf("%c is a lowercase letter\n" ,ch); }.A
\;FDyj
else if ((ch>='A') && (ch<='Z')) BI>r'
print(" %c is a uppercase letter\n" ,ch); ]%(X}]}
else if((ch>'0')&&(ch<'9') z7JhS|
printf(" %c is a number character between 0 and 9\n" ,ch) ; RbEtNwG@c
else 0[-@<w ^j
printf("%c is...") d`xDv$QZ
"2
qivJ
外面再加个循环就行了