int ch ; &3CC |
ch=getche() ; -F`uz,wZ
if((ch>='a') && (ch<='z')) s~>0<3{5
printf("%c is a lowercase letter\n" ,ch); D/&nEMp6
else if ((ch>='A') && (ch<='Z')) N'n\_ x
print(" %c is a uppercase letter\n" ,ch); hF`Qs
else if((ch>'0')&&(ch<'9') w itx_r
printf(" %c is a number character between 0 and 9\n" ,ch) ; P&sYS<9q
else Bv{DZ?{s
printf("%c is...") 'y%*W:O
.!Q*VTW
外面再加个循环就行了