This is the fabled Fizzbuzz problem, which is said that most programmers cant solve in longhand. Its a common question asked in programming interviews.
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”.
Please post your solution or a link to your solution in whatever language you are most comfortable in and also how long it took you to solve it. Please try not to google it first before trying to solve it