int ch ; K"|l@Q[
ch=getche() ; ^q{9
if((ch>='a') && (ch<='z')) nyQ&f'<
printf("%c is a lowercase letter\n" ,ch); wPQH(~k:
else if ((ch>='A') && (ch<='Z')) cG[l!Z
print(" %c is a uppercase letter\n" ,ch); 0)Uce=t`
else if((ch>'0')&&(ch<'9') (SpX w,:
printf(" %c is a number character between 0 and 9\n" ,ch) ; +"rDT1^V
else e7^mmm
printf("%c is...") ~xkeuU
)eUh=eW
外面再加个循环就行了