#include<iostream>
#include<string>
#include<cctype>
#include<algorithm>
using namespace std;
int main()
string str; string str1 = " Hello World";string str3;
cout << "Enter value for str: ";
getline(cin, str);
int length = [Link]();
cout << "The Lenght of the string is: " << length << endl;
string strRev = str;
reverse([Link](), [Link]());
cout << "Reverse Sring is: " << str << endl;
str3 = strRev + str1;
cout << "String after concatenation is: " << str3 << endl;
int count = 0;
for (int i = 0; i<[Link]();i++)
if (str[i] == ' ')
count++;
}
cout << "Number of words in the string are: " << count+1 <<
endl;
transform([Link](), [Link](), [Link](), tolower);
cout << str3;
return 0;