int ch ; 0wa!pE"
ch=getche() ; ,EGD8$RA]
if((ch>='a') && (ch<='z')) d
>wmg*J
printf("%c is a lowercase letter\n" ,ch); xSMp[j
else if ((ch>='A') && (ch<='Z')) 5;i!PuL
print(" %c is a uppercase letter\n" ,ch); k(vEp]
else if((ch>'0')&&(ch<'9') xs83S.fHg
printf(" %c is a number character between 0 and 9\n" ,ch) ; ytcG6WN3
else Ty,)mx){)
printf("%c is...") _|5FrN
7.Kjg_N#Tr
外面再加个循环就行了