I think this is a classic case where interpretation can lead to various
results.
Without concise details about the desires results, a developer can have
different views.
 

-----Original Message-----
From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 28, 2007 8:34 AM
To: CF-Talk
Subject: Re: Fizzbuzz. Simple programming problems.

Which, in a literal since, says that you would print 'Fizz' instead of
the number, but print 'Buzz' and 'FizzBuzz' with the number.

Cutter
_____________
http://blog.cutterscrossing.com

Paul Vernon wrote:
> <snip>
> 
>>I don't see anything in the spec that says instead of
> 
> 
> <snip>
> 
> It's on line three below...
> 
> 
>>Here's the specific one he mentioned:
>>Write a program that prints the numbers from 1 to 100.
>>But for multiples of three print "Fizz" instead of the number.
>>For the multiples of five print "Buzz".
>>For numbers which are multiples of both three and five print
"FizzBuzz".
> 
> 
> From that I'd say Andy is correct in his interpretation of the
requirements.
> 
> Paul
> 
> 
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270937
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to