Skip to content

One Two Fizz Four Buzz Fizz Seven Eight Fizz Buzz Eleven Fizz Thirteen Fourteen Buzz

Notifications You must be signed in to change notification settings

cstmth/FizzBuzz

Repository files navigation

FizzBuzz

Hello dear reader, You are probably familiar with the rules of the FizzBuzz programming test, but nevertheless I have the official task for you here:

Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”

To sum it up:

  • 1 to 100
  • replace multiples of 3 with "Fizz
  • replace multiples of 5 with "Buzz
  • replace multiples of 3 and 5 with "FizzBuzz

About

One Two Fizz Four Buzz Fizz Seven Eight Fizz Buzz Eleven Fizz Thirteen Fourteen Buzz

Topics

Resources

Stars

Watchers

Forks

Languages