Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 348 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 348 Bytes

Task

Write a program that prints the integers from 1 to 100 (inclusive).

But:

  • for multiples of three, print Fizz (instead of the number)
  • for multiples of five, print Buzz (instead of the number)
  • for multiples of both three and five, print FizzBuzz (instead of the number)

Taken from http://rosettacode.org/wiki/FizzBuzz