2. Reverse a string
- Points
- 15
- Type
- ConsoleIO
Read one line of text and print it reversed.
Examples
| Input | Output |
|---|---|
abc |
cba
|
CodeMaster |
retsaMedoC
|
racecar |
hidden |
Your code is saved locally until you submit a solution.