int ch ; 7.VP7;jys
ch=getche() ; 8K9HFT@yV
if((ch>='a') && (ch<='z')) GC# [&>L
printf("%c is a lowercase letter\n" ,ch); J?TCP%
else if ((ch>='A') && (ch<='Z')) Xh}q/H<
print(" %c is a uppercase letter\n" ,ch); 2~/`L=L
else if((ch>'0')&&(ch<'9') XdDQ$'*X
printf(" %c is a number character between 0 and 9\n" ,ch) ; SujEF`"
else VtzZ1/JE
printf("%c is...") &TRKd)w d
aWimg6q
外面再加个循环就行了