Post Reply 
Mini-challenge: MAX(factors of 2 or 5)
01-20-2018, 04:21 AM
Post: #17
RE: Mini-challenge: MAX(factors of 2 or 5)
(01-19-2018 11:48 PM)pier4r Wrote:  Once again, this looks to me like a fizzbuzz problem.

Not knowing what that meant, I looked it up and found this:

Quote:The "Fizz-Buzz test" is an interview question designed to help filter out the 99.5% of programming job candidates who can't seem to program their way out of a wet paper bag. The text of the programming assignment is 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”."

Please be aware that MAX(factors of 2 or 5) is actually needed for an actual programming task, namely, printing integer ratios as repeating decimals. MAX(denominator's factors of 2 or 5) yields the number of digits after the decimal point which do NOT repeat. So this isn't just a fizzbuzz problem... unless you mean something else by "a fizzbuzz problem" in which case please elucidate.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Mini-challenge: MAX(factors of 2 or 5) - Joe Horn - 01-20-2018 04:21 AM



User(s) browsing this thread: 3 Guest(s)