#include <iostream>
#include <stdio.h>

using namespace std;

char* Capital_to_Small(char* str)
{
    char* temp = str;
    int len = strlen(temp);
    for (int i = 0; i < len; i++)
    {

        if (temp[i] >= 'A' && temp[i]<='Z')
        {
            temp[i] = temp[i] + 32;
        }
    }

    return str;
}

int main()
{
    char s[_MAX_PATH];
    cin >> s;
    Capital_to_Small(s);
    cout << s;

    getchar();

    return 0;
}

 

相关文章:

  • 2021-08-04
  • 2019-03-15
  • 2021-12-23
  • 2022-01-01
  • 2021-11-23
  • 2021-08-05
  • 2021-12-05
猜你喜欢
  • 2021-11-23
  • 2020-02-26
  • 2022-01-01
  • 2021-11-23
  • 2021-08-04
  • 2021-12-27
  • 2021-11-04
  • 2021-08-07
相关资源
相似解决方案