Accenture Interview Question

Write a program to Reverse a string.