Exercise: Reverse a String¶
Description¶
Write a program that
reads a string from standard input [1]
reverses that string [2]
outputs the reversed string to standard output [3]
$ ./reverse-string
abc <--- user input, typed by you
cba <--- program output
Footnotes