If I input ''ABCD'' I want the output to be ''ZABC''. If I input ''hello world'' the output has to be ''gdkkn vnqkc''.
I did this:
cout << "Enter text" << endl;
cin >> input;`
result_string = ConvertString(input);
cout << endl << "The result is " << endl << result_string << endl;
But I don't know how to define ConvertString
.
Thank you for the help. :)