marc weber wrote:
FizzBuzz60 (coming fall 2012)
Jose George Augustine wrote:http://fizzbuzzjava.blogspot.com/2012/11/fizz-buzz-java-program.html
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”.
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
Campbell Ritchie wrote:Scott Shipp may not have been aware of the existence of this thread. See this.
Campbell Ritchie wrote:What does the -> operator do? Is it a mapsto operator, or a naked guard?
That is a really big piece of pie for such a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton