(Swap case) Write the following function that returns a new string in which the uppercase letters are changed to lowercase and lowercase to uppercase.
string swapCase(const string& s)Write a test program that prompts the user to enter a string and invokes this function, and displays the return value from this function. Here is a sample run:
![]()
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.