public static void Main()
Console.WriteLine("Wanna Play a game? (y/n)");
string response = response = Console.ReadLine();
while (response.Equals("y"))
Console.WriteLine("Please enter a word");
string word = Console.ReadLine();
int length = word.Length;
char firstChar = word[0];
Console.WriteLine("Word length:" + length);
Console.WriteLine("First character:" + firstChar);
int lastPosition = word.Length -1;
char lastChar = word[lastPosition];
Console.WriteLine("Last character is:" +lastChar);
Console.WriteLine("Would you like to play again? (y/n)");
response = Console.ReadLine();