Micros interview question

Can you solve this fizz buzz problem