Motorola Solutions interview question

To physically write a method for FizzBuzz