int ch ; <]b7ZF]
ch=getche() ; ODC8D>ZYl
if((ch>='a') && (ch<='z')) 6p?JAT5
printf("%c is a lowercase letter\n" ,ch); ,I_^IitN
else if ((ch>='A') && (ch<='Z')) &bp=`=*
print(" %c is a uppercase letter\n" ,ch); Ie4 hhW
else if((ch>'0')&&(ch<'9') HjGyj/78w
printf(" %c is a number character between 0 and 9\n" ,ch) ; ]f_6 '|5A
else 9>g,
printf("%c is...") 'I /aboDB
Ko/ I#)
外面再加个循环就行了