作业
32题 参考
思路
printf
(
"请输入字符:"
);
scanf
(
"%c"
,&temp);
if
((temp>=
'0'
) && (temp <=
'9'
))
printf
(
"数字
"
);
else
if
((temp>=
'a'
) && (temp <=
'z'
))
printf
(
"小写字母
"
);
else
if
((temp>=
'A'
) && (temp <=
'Z'
))
printf
(
"大写字母
"
);
else
printf
(
"其他字符
"
);