SPS Technologies interview question

They asked how i'd develop a fizzbuzz computer algorithm