I'd like to get the pattern of answers for each possible pattern (so 
to make this simpler, let's assume there are only 3 questions) I'd 
like to figure out an algorithm that will generate:

YYY
NYY
NNY
NNN
YNN
YYN
YNY
NYN
etc.


T
At 09:32 PM 23/11/2009, Phillip Vector wrote:

>Well, the 23rd position of binary is the total number of answers. :)
>
>But if you are looking for a way to store it, why not just a string of
>22 characters?
>
>On Mon, Nov 23, 2009 at 5:19 PM, Thane Sherrington
><th...@computerconnectionltd.com> wrote:
> >
> > I have a yes/no questionnaire that I want to fill out with every
> > possible pattern of answers - there are 22 questions in total, and
> > I'm trying to come up with an algorithm that will give me every
> > pattern of answers, but I'm just not bright enough to do it. :)  Can
> > anyone point me in the right direction?
> >
> > Thanks,
> >
> > T
> >
> >
> >
> >
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328636
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