int ch ; JDbRv'F:(
ch=getche() ; 94uAt&&b(
if((ch>='a') && (ch<='z')) T#M_2qJ1=
printf("%c is a lowercase letter\n" ,ch); Mk-zeq<2z
else if ((ch>='A') && (ch<='Z')) z89!\Q
print(" %c is a uppercase letter\n" ,ch);
xWC*DKV
else if((ch>'0')&&(ch<'9') `MD%VHQ9U
printf(" %c is a number character between 0 and 9\n" ,ch) ; +!"GYPUXy
else 0oT~6BGm
printf("%c is...") *;E\,,Io
8.`*O
外面再加个循环就行了