60 likes | 206 Views
HAMMING CODE SOLUTIONS. PARSE EXPLAINED. Do Console.Write ("Enter a whole number between 1 and 100: ") If Single.TryParse ( Console.ReadLine (), player1Number) Then Exit Do Else Console.WriteLine ()
E N D
PARSE EXPLAINED Do Console.Write("Enter a whole number between 1 and 100: ") If Single.TryParse(Console.ReadLine(), player1Number) Then Exit Do Else Console.WriteLine() Console.WriteLine("That was not a number!!") Console.WriteLine() End If Loop