Dim RandomNum, UserGuess, Count As Integer
Dim RandomClass As New System.Random(70)
RandomNum = RandomClass.Next(1, 101)
Console.WriteLine("I'm thinking of a number between 1 and 100 inclusively")
Console.WriteLine("What's your guess?")
UserGuess = Console.ReadLine()
If UserGuess > RandomNum Then
Console.WriteLine("*** TOO HIGH ***")
If UserGuess < RandomNum Then
Console.WriteLine("*** TOO LOW ***")
Loop Until UserGuess = RandomNum
Console.WriteLine("Well done! You took " & Count & " go.")
Console.WriteLine("Well done! You took " & Count & " goes.")