int ch ; q"OJF'>w5
ch=getche() ; P)k!#*
if((ch>='a') && (ch<='z')) 0^G5 zQlj
printf("%c is a lowercase letter\n" ,ch); b$,~S\\c
else if ((ch>='A') && (ch<='Z')) %]iE(!>3oy
print(" %c is a uppercase letter\n" ,ch); ,JVWn>s
else if((ch>'0')&&(ch<'9') AzlZe\V?)~
printf(" %c is a number character between 0 and 9\n" ,ch) ; um}%<Cy[
else O&vE 5%x
printf("%c is...") gd=gc<z YP
a}#8n^2
外面再加个循环就行了