Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 381 Bytes

File metadata and controls

11 lines (6 loc) · 381 Bytes

TDD_Exercise

FizzBuzz Problem : https://www.hackerrank.com/challenges/fizzbuzz/problem

Write a short program that prints each number from 1 to 100 on a new line.

For each multiple of 3, print "fizz" instead of the number.

For each multiple of 5, print "buzz" instead of the number.

For numbers which are multiples of both 3 and 5, print "fizzbuzz" instead of the number.