WAP to reverse the string

Write a program to reverse the string without using string function Output Enter the string: nawarajReverse string is: jarawan