소문자 대문자
피라
2023.04.01
#include stdio.h
#include string.h
int main(void)
{
char a[20];
scanf(%s, &a);
if(strcmp(a, strlwr(a))==0)
{
printf(%s, strupr(a));
}
else
{
printf(%s, strlwr(a));
}
return 0;
}
에서 소문자를 입력받으면 왜그대로 소문자가나오는거죠??