Capgemini Engineering Interview Question

Write a program to reverse a string without using in build methods.