int ch ; pV\ >?
ch=getche() ; n)D
if((ch>='a') && (ch<='z')) 3QVUWhJ
printf("%c is a lowercase letter\n" ,ch); V!yBH<X
else if ((ch>='A') && (ch<='Z')) 1=9GV+`n
print(" %c is a uppercase letter\n" ,ch); )a'`
else if((ch>'0')&&(ch<'9') 0"TPY(n
printf(" %c is a number character between 0 and 9\n" ,ch) ; `m#G'E I
else [ybK
printf("%c is...") UmMu|`
`)KGajB
外面再加个循环就行了