Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
marc weber wrote:
FizzBuzz60 (coming fall 2012)
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Jose George Augustine wrote:http://fizzbuzzjava.blogspot.com/2012/11/fizz-buzz-java-program.html
The biggest gamble will be to ask a question whose answer you know in that it will challenge your theory | www.TechAspire.blogspot.in
Jose George Augustine wrote:My intention was just to show the one line function which gives fizz buzz solution.
But, I didnt see the specification of the problem anywhere in that page.
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”.
Bert wrote:
The JavaRanch addition is to write the program in such a way that it:
- implements the above
- is meaningfully different than all previous entries
- can somehow be defended as a "good" way to go
No more Blub for me, thank you, Vicar.
No more Blub for me, thank you, Vicar.
Campbell Ritchie wrote:What does the -> operator do? Is it a mapsto operator, or a naked guard?