Skip to content

A collection of come cool Fizz Buzz programs in your favorite programming language

License

Notifications You must be signed in to change notification settings

ashish-r/Fizz-Buzz

Repository files navigation

FizzBuzz

Problem Statement

Write a program that prints the numbers from 1 to 100 but for multiples of '3' print "Fizz", for the multiples of '5' print "Buzz" and for the multiples of both '3' and '5' print "FizzBuzz" instead of the number.

Sample Output:

1, 2, Fizz, 4, Buzz, Fizz, 7, 8, Fizz, Buzz, 11, Fizz, 13, 14, FizzBuzz, 16, 17, Fizz, 19, Buzz, Fizz, 22, 23, Fizz, Buzz, 26, Fizz, 28, 29, FizzBuzz, 31, 32, Fizz, 34, Buzz, Fizz, ...

Overview

Fizz Buzz is the most common programming question asked during the interviews. The goal of this repository is to help beginners with their contributions in Open Source. Every contribution is appreciated, just make sure to follow the contribution guidelines.

If this is your first contribution and you need any help, or if you are facing any issue. Comment here: #4

Hacktoberfest

Hacktoberfest® (1st October-31st October) is open to everyone in the global community. Whether you’re a developer, student learning to code, event host, or company of any size, you can help drive growth of open source and make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to complete the challenge.

Enter Your email on the website to win cool T-shirt.

Website - https://hacktoberfest.digitalocean.com/

License: MIT