C语言编程题?

2024-11-26 05:40:52
推荐回答(2个)
回答1:

回答2:

#include
int main()
{
char a;
a=getchar();
if(a>='A'&&a<='Z')
putchar(a);
if(a>='a'&&a<='z')
printf("%d",a);
if(a>='0'&&a<='9')
printf("%d",a);
else
putchar(a);
return 0;
}