C++ Program to Convert String to Lowercase

C++ Program to Convert String to Lowercase 1

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