Wipro Interview Question

Print a string in reverse order