int ch ; *w _ o8!3-
ch=getche() ; zT6nC5E
if((ch>='a') && (ch<='z')) C,eP!_O
printf("%c is a lowercase letter\n" ,ch); Nr$78] o9
else if ((ch>='A') && (ch<='Z')) R_+:nCB@,
print(" %c is a uppercase letter\n" ,ch); ;UpJ_y)n8\
else if((ch>'0')&&(ch<'9') GwP!:p|
printf(" %c is a number character between 0 and 9\n" ,ch) ; WrDFbcH
else i \/'w]
printf("%c is...") 1_f+!
ns#
Udtz zka
外面再加个循环就行了