Wipro interview question

Print a string in reverse order