int ch ; lxIoP
ch=getche() ; zq1je2DB
if((ch>='a') && (ch<='z')) z ;>xI~
printf("%c is a lowercase letter\n" ,ch); I8R#EM%C#
else if ((ch>='A') && (ch<='Z')) s&UuB1
print(" %c is a uppercase letter\n" ,ch); V*X6 <}
else if((ch>'0')&&(ch<'9') OPVF)@"ptM
printf(" %c is a number character between 0 and 9\n" ,ch) ; I!FIV^}Z(
else 3K2B7loD)~
printf("%c is...") y:t@X~
N~rA /B]T
外面再加个循环就行了