fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main(){
  5. char c,ans; cin >> c;
  6. c <= 90 ? ans = c+32 : ans = c-32;
  7. cout << ans;
  8. return 0;
  9. }
Success #stdin #stdout 0s 5280KB
stdin
X
stdout
x