5 ms·
So Leonardo, could you please: "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
by kelvin0 11y ago
So Leonardo, could you please:
"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”."
- markatkinson 11y agoThis almost made me fall off my chair... I literally made a fizzbuzz application in Elixir today 0_0
- deleted 11y ago[deleted]
- _pmf_ 11y agoBonus points for ridiculing him if he uses tabs instead of spaces.
- dTal 11y agoYou mean, spaces instead of tabs... :)
- diezge 11y agoLeonardo: "Can I use jQuery?"
- xrcltr 11y agoActual Leonardo: "Why do you want this? I have found upon much observation and reflection that those people of stout character who request Fizzbuzzium would be far better served with the presentation of the solution to an alternative problem that more closely describes the situation. Please find it within yourself to return to first principles, so I may remove the original first problem with quickness and zeal that you have not yet seen."
- j45 11y agoMost FizzBuzz test takers are not Leonardo Da Vinci, no matter how hard they may imagine it.