noGuesses() public method

public noGuesses ( int upper, int answer ) : int
upper int
answer int
return int
Example #1
0
        static void Main(string[] args)
        {
            GuessTheNumber x = new GuessTheNumber();

            Console.WriteLine(x.noGuesses(9, 6));
            Console.ReadLine();
        }
Example #2
0
 static void Main(string[] args)
 {
     GuessTheNumber x = new GuessTheNumber();
     Console.WriteLine(x.noGuesses(9,6));
     Console.ReadLine();
 }