ADP interview question

I was asked to solve the FizzBuzz Question.