#include
#include
#include
#include
int main()
{
char a[30];
int i=0;
printf("输入字符串:\n");
scanf("%s",a);
while(a[i]!='\0')
{
if(( a[i]>=65) && (a[i]<=90))
{
a[i]=a[i]+32;
}
i++;
}
printf("Output:\n");
puts(a);
scanf("%d",i);
}
string change(string x)
{
int g = 'A' - 'a';
for (int i = 0; i < x.length(); ++i)
{
if (x[i] >= 'A' && x[i] <= 'Z')x[i] = x[i] - g;
}
return x;
}