Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Play the game");

            for (var iteration = 0; iteration <= 100; iteration++)
            {
                var result = FizzBuzzGameEngine.IterationOfIs(iteration);
                Console.WriteLine(result);
            }

            Console.ReadLine();
        }
Ejemplo n.º 2
0
        private static string FizzBuzzGameEngineReturnsTheCorrectOutputForGivenIterationInput(int iteration)

        {
            return(FizzBuzzGameEngine.IterationOfIs(iteration));
        }