Motorola Solutions interview question

I was asked to write the code for the fizzBuzz problem.