public static void Main()
Console.WriteLine("Can you guess a number between 1 and 100?");
val = Console.ReadLine();
int n = Convert.ToInt32(val);
Console.WriteLine("Congrats, you've found the mystery number!");
Console.WriteLine("Its higher!");
Console.WriteLine("What's the number?");
val = Console.ReadLine();
n = Convert.ToInt32(val);
Console.WriteLine("Its lower!");
Console.WriteLine("What's the number?");
val = Console.ReadLine();
n = Convert.ToInt32(val);