String Reversal · Compiler
String Reversal
Read the letters on a sign from right to left to produce the reversed word.
- Input
- One word of 1 to 100 lowercase ASCII letters.
- Output
- Print the reversed word on one line.
Compiler Explorer runs your code when you run or check it.
Loading your exercise draft…