Write a recursive version of the function reverse(s), which reverses the string s in place.
reverse(s)
s
Each input line, at most 1000 characters, holds s without its newline. Print the reversed s on a line of its own.
No submissions yet