Skip to content

Latest commit

 

History

History

FizzBuzz

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

FizzBuzz

Can you say Fizz and Buzz?

Open FizzBuzz.php and start hacking away.

The rules are

  • If the number $testNumber can be divived with $fizz then say Fizz
  • If $testNumber can be divived with $buzz then say Buzz
  • If $testNumber can be divided with both, then say FizzBuzz
  • Otherwise just say the $testNumber

How much code do you need to write?

Can you make it even less code?

The story about FizzBuzz