int ch ; V{{Xz:
ch=getche() ; &cSZ?0R
if((ch>='a') && (ch<='z')) RYyM;<9F
printf("%c is a lowercase letter\n" ,ch); h]jy):9L
else if ((ch>='A') && (ch<='Z')) a;h.I}*]
print(" %c is a uppercase letter\n" ,ch); V#,jUH|
else if((ch>'0')&&(ch<'9') 5hvg]w95;
printf(" %c is a number character between 0 and 9\n" ,ch) ;
UOa
n
else :pCv!g2
printf("%c is...") P#l"`C
/
MJM<
外面再加个循环就行了