Pregunta de entrevista de RBC

fizz buzz programming question for technical screening