Hexper v1.4.0 FizzBuzz View Source
Fizz buzz is a group word game for children to teach them about division.Players take turns to count incrementally, replacing any number divisible by three with the word “fizz”, and any number divisible by five with the word “buzz”.
Example
For example, a typical round of fizz buzz would start as follows:
1, 2, Fizz, 4, Buzz, Fizz, 7, 8, Fizz, Buzz, 11, Fizz, 13, 14, Fizz Buzz, 16, 17, Fizz, 19, Buzz, Fizz, 22, 23, Fizz, Buzz, 26, Fizz, 28, 29, Fizz Buzz, 31, 32, Fizz, 34, Buzz, Fizz, …
Link to this section Summary
Functions
defp for adding private method. Elixir way
Publically adding method to an existing one. 1 case one line
Defining a big method with every case enclosed. traditonnal
Link to this section Functions
Publically adding method to an existing one. 1 case one line
Defining a big method with every case enclosed. traditonnal