int ch ; #T'{ n1AI
ch=getche() ; E&[{4Ml
if((ch>='a') && (ch<='z')) 5:KQg
printf("%c is a lowercase letter\n" ,ch); Zg{KFM%
else if ((ch>='A') && (ch<='Z')) ppVHLrUh
print(" %c is a uppercase letter\n" ,ch); ;EP:o%r
else if((ch>'0')&&(ch<'9') }f6HYU
printf(" %c is a number character between 0 and 9\n" ,ch) ; oY H^_V
else ,Ge"anO
printf("%c is...") z?R|Ok
!WQ-=0cm
外面再加个循环就行了