Dim RandomClass As New Random(1)
Dim RandomNum, UserGuess, Count As Integer
RandomNum = RandomClass.Next(1, 101)
Console.WriteLine("Enter guess")
UserGuess = Console.ReadLine()
if UserGuess = RandomNum Then
Console.WriteLine("Well done! You guessed the number in goes")
If UserGuess < RandomNum Then
Console.WriteLine("Too Low")
If UserGuess > RandomNum Then
Console.WriteLine("Too High")
loop until UserGuess = RandomNum or Count = 6