using System;
namespace M7Act1
{
public class Program
public static void Main(string[] args)
string str = "", reverse = "";
int Length = 0;
Length = str.Length - 1;
Console.WriteLine("Enter a Word: ");
str = Console.ReadLine();
while(Length >=0)
reverse = reverse + str[Length];
Length--;
}
Console.WriteLine("\nThe reverse of the given input is {0}.",reverse);
Console.ReadLine();