Accepted
/in/foo.c: In function 'main': /in/foo.c:5:10: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=] scanf("%c",&a); ^
代码
#include<stdio.h>
int main()
{
int a, b;
scanf("%c",&a);
if(a>=65&&a<=90)
{ b=a+32;
printf("%c",b);}
else
printf("%c",a);
return 0;
}