All challenges
easystrings 10 XP per passing test
Reverse a String
Problem
Reverse a String: Write a program that reads a string from STDIN and prints the reversed string to STDOUT. The input is a single line containing a string of characters. The output is the reversed string, also on a single line.
(run your code to see output)
Advertisement