int ch ; uM9RlI5
ch=getche() ; \S"YLRn"
if((ch>='a') && (ch<='z')) 9h
0^_|"
printf("%c is a lowercase letter\n" ,ch); /(skIvE|
else if ((ch>='A') && (ch<='Z')) !_=3Dz
print(" %c is a uppercase letter\n" ,ch); ]0)=0pc]E
else if((ch>'0')&&(ch<'9') Q2ky|
printf(" %c is a number character between 0 and 9\n" ,ch) ; oS_<;Fj
else .+hM1OF`x
printf("%c is...") ""^.fh
D3-H!TFpDb
外面再加个循环就行了