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, ...
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.
Hacktoberfest® (1 October-31 October) is open to everyone in our 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/