/fizzbuzz-go

Implementing FizzBuzz in Go

Primary LanguageGo

FizzBuzz in Go

Write a method which prints out a list of positive integers, replacing the number with

  • "Fizz" if the number is a multiple of 3;
  • "Buzz" if the number is a multiple of 5;
  • or "FizzBuzz" if the number is a multiple of 3 and 5.