int ch ; s{Z)<n03
ch=getche() ; 'rcqy1-&
if((ch>='a') && (ch<='z')) v3I^81
printf("%c is a lowercase letter\n" ,ch); W&?Qs=@
else if ((ch>='A') && (ch<='Z')) 4N,mcV
print(" %c is a uppercase letter\n" ,ch); EO&Q
else if((ch>'0')&&(ch<'9') "]+g5G
printf(" %c is a number character between 0 and 9\n" ,ch) ; JL1ajlm~
else WEimJrAn
printf("%c is...") ::|~tLFu
qz-QVY,
外面再加个循环就行了