utkarsh-shekhar / basic-programs

7 stars 53 forks source link

Fizz Buzz test #24

Open utkarsh-shekhar opened 7 years ago

utkarsh-shekhar commented 7 years ago

This is for git beginners.

Please add a program for the fizz buzz test in the language of your choice. Please name the file fizz-buzz.

Print numbers from 1-100. For multiples of 3, print "Fizz" instead of the number For multiples of 5, print "Buzz" instead of the number For multiples of 3 and 5, print "FizzBuzz" instead of the number

See readme for the structure.

Do let me know if anything is not clear.

buzzfizz commented 7 years ago

Can I use PHP? And when should it print fizz, buzz and fizz buzz?

utkarsh-shekhar commented 7 years ago

@buzzfizz You can use any language that you want! Print numbers from 1-100. For multiples of 3, print "Fizz" instead of the number For multiples of 5, print "Buzz" instead of the number For multiples of 3 and 5, print "FizzBuzz" instead of the number

I'll update the issue description as well.

maria-mata commented 7 years ago

Hi there, I will make the JavaScript version! Forking now...

utkarsh-shekhar commented 7 years ago

@maria-mata Awesome!

f4ww4z commented 7 years ago

I'll make a Java version for this! :+1:

antempus commented 7 years ago

I'll give this a shot for C