complete 2420, 2744, 2754, 10699

This commit is contained in:
2024-03-14 20:46:42 +09:00
parent 8cff82e6de
commit a80280054f
4 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < s.length(); i++) {
char c = s[i];
if (65 <= c && c <= 90) {
s[i] += 32;
} else {
s[i] -= 32;
}
}
cout << s;
return 0;
}