int ch ; /2-S/,a
ch=getche() ; (&0%![j&
if((ch>='a') && (ch<='z')) a'f"Zdh%w
printf("%c is a lowercase letter\n" ,ch); LziEF-_
else if ((ch>='A') && (ch<='Z')) ;T~]|#T\6
print(" %c is a uppercase letter\n" ,ch); ^Bn)a"Gd
else if((ch>'0')&&(ch<'9') $.kP7!`:,
printf(" %c is a number character between 0 and 9\n" ,ch) ; K^`3Bg
else j?%^N\9
printf("%c is...") '/U[ ui0{
BL<.u
外面再加个循环就行了