Pergunta de entrevista da empresa Teradata

Write the code for and explain the solution behind fizzbuzz