FizzBuzz

While not related to Blackboard or server administration, below is my approach to FizzBuzz. I came across a thread on a forum that pretty much just had the text in it “Can you do it?”. I’ve read that it’s a popular interview question for programmers so thought I would take a shot for fun since I’m not a software engineer by trade.

The instructions are commonly as follows:

“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”.”

 

Leave a Reply

Your email address will not be published. Required fields are marked *