cgulli / fizzbuzz_go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fizzbuzz in Golang

Fizzbuzz prompt:

*Write a program that prints the numbers from 1 to 100. 

*For multiples of three print “Fizz” instead of the number

*For the multiples of five print “Buzz”

*For numbers which are multiples of both three and five print “FizzBuzz”

Steps

Run go run main.go to execute the programme. Tests can be run with go test in the fizzbuzz package.

About


Languages

Language:Go 100.0%