int ch ; r dc}e"v
ch=getche() ; /Ww_fY
if((ch>='a') && (ch<='z')) T2nbU6H
printf("%c is a lowercase letter\n" ,ch); GCf3'u
else if ((ch>='A') && (ch<='Z')) t:|+U:! >
print(" %c is a uppercase letter\n" ,ch); s?.A
$^t
else if((ch>'0')&&(ch<'9') 6 +:Tv2
printf(" %c is a number character between 0 and 9\n" ,ch) ; RawK9K_1
else 1>doa1
printf("%c is...") &r{.b#7\/A
*acN/Ca1
外面再加个循环就行了