Dim attempt as Integer = 0
Console.WriteLine("What colour tie is Mr Gowen wearing today?")
guess = Console.ReadLine()
Loop Until attempt = 3 or guess = "red"
If guess.ToLower() = "red" Then
Console.WriteLine("Well done, you are observant!")
Console.WriteLine("You ran out of attempts!")