C++ Program to Convert String to Lowercase

Write a C++ Program to Convert String to Lowercase with an example. In this C++ program, we used for loop to traverse upTxt string characters. We used the tolower function within the loop to convert uppercase string to lowercase. #include<iostream> #include<string> using namespace std; int main() { string upTxt; cout << “\nPlease Enter the String … Read more