public static void Main()
Console.WriteLine("Jugador 1: Introdueix el nombre a endevinar");
a=int.Parse(Console.ReadLine());
Console.WriteLine("Jugador 2: Introdueix el nombre secret");
b=int.Parse(Console.ReadLine());
Console.WriteLine("Jugador 2: El nombre és incorrecte");
Console.WriteLine("Jugador 2: El nombre secret és menor al que has endevinat");
Console.WriteLine("Jugador 2: Introdueix el nombre secret");
b=int.Parse(Console.ReadLine());
Console.WriteLine("Jugador 2: El nombre secret és major al que has endevinat");
Console.WriteLine("Jugador 2: Introdueix el nombre secret");
b=int.Parse(Console.ReadLine());
}Console.WriteLine("Jugador 2: Has endevinat el nombre secret i només ho has intentat "+c+" vegades");