Problem L: 大小写字母互换
          Memory Limit:128 MB
          Time Limit:1.000 S
         
      
      
        
          Judge Style:Text Compare
          Creator:
      
      
          Submit:11
          Solved:9
      
Description
把一个字符串中所有出现的大写字母都替换成小写字母,同时把小写字母替换成大写字母。
    Input
	输入一行:待互换的字符串。 
Output
	输出一行:完成互换的字符串(字符串长度小于80)。 
Sample Input Copy
If so, you already have a Google Account. You can sign in on the right.Sample Output Copy
iF SO, YOU ALREADY HAVE A gOOGLE aCCOUNT. yOU CAN SIGN IN ON THE RIGHT.HINT
1.length()成员函数
length()函数是string的内置成员函数,用于返回string类型字符串的实际长度。示例1:
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s="hello world!";
cout<<s.length()<<endl;
return0;
}
输出:12
2.size()成员函数
	size()函数与length()一样,没有本质区别。
	#include<bits/stdc++.h>
using namespace std;
int main()
{
    string s= "hello world!";
    cout << s.size() << endl;
    return 0;
}
输出结果:12