#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;
}

 

相关文章:

  • 2022-12-23
  • 2022-02-02
  • 2022-12-23
  • 2021-12-18
  • 2021-08-03
  • 2022-12-23
  • 2021-10-26
  • 2022-12-23
猜你喜欢
  • 2021-12-03
  • 2022-12-23
  • 2021-11-23
  • 2021-04-08
  • 2022-02-16
  • 2022-02-04
  • 2021-10-07
相关资源
相似解决方案