题解

C2024013 2024-08-21 17:42:43

#include<bits/stdc++.h> using namespace std;

int main()
{ char c; cin>>c; if (c>='A' && c<='Z') { cout<<char(c-'A'+'a'); } else if(c>='a' && c<='z') { cout<<char(c-'a'+'A'); }

return 0;

}