int ch ; <Ok3FE.K
ch=getche() ; y)gKxRaCS
if((ch>='a') && (ch<='z')) [c06 N$:
printf("%c is a lowercase letter\n" ,ch); xP,hTE
else if ((ch>='A') && (ch<='Z')) YgoBHE0#
print(" %c is a uppercase letter\n" ,ch); FsryEHz
else if((ch>'0')&&(ch<'9') n-OL0$Xu
printf(" %c is a number character between 0 and 9\n" ,ch) ; "g#i'"qnW
else k;L6R!V
printf("%c is...") -PQv ?5
:/Qq@]O>
外面再加个循环就行了