To lower case

    0

    0

    Giovanny Gongora

    Codiga's C++ Recipes

    Convert a string to lower case

    # include <iostream>
    # include <string>
    
    using namespace std;
    void toLowerCase(){
      char str1 [30], temp[30];
      cout < < "Enter the string:";
      cin > > str1;
      strcpy ( temp, str1);
      cout < < "strlwr (temp) : " < < strlwr ( temp) < < end1;
    }
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.