Question: Use C++ to answer. 1. Description: Given a string S , output the reverse of S . 2. Input : The input consists of one
Use C++ to answer.
1. Description: Given a string S, output the reverse of S.
2. Input :
The input consists of one line. Each line is a string S with length <= 10000.
The string S does not contain any spaces.
3. Output: Output the reverse of S.
4. Sample Input: abbbbaaabbaba
Sample Output: ababbaaabbbba
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
