fork download
  1.  
  2. #include <iostream>
  3. #include <string>
  4. #include <cctype>
  5. using namespace std;
  6.  
  7. int main() {
  8. string str;
  9. cin >> str;
  10.  
  11. for (int i = 0; i < str.length(); i++) {
  12. str[i] = tolower(str[i]);
  13. }
  14.  
  15. cout << str << '\n';
  16.  
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 544KB
stdin
Standard input is empty
stdout