Ericsson interview question

Solve basic programming exercises in a language of choice (as simple as fizzbuzz)