Need VB program to spit out different cominations of Y and N
- From: charles.george1124@xxxxxxxxx
- Date: 30 Mar 2007 11:14:55 -0700
Hello to all out there,
I need some help for some testing: I have 5 categories that could
either be a Yes or No. The order isn't important so it can be any
combinations of Y OR N for 1 set. I used the combination formula to
figure out that I have 45 different combinations:
n!/(r!(n-r)!)----->10!/8!2!------>45
How can i in vb.net display all 45 combinations using the text Y and
N?
Example:
1:YYYYY
2:YNNNN
3:YYNNN
4 . . . . .
and so on.
Your help is greatly appreciated.
.
- Follow-Ups:
- Re: Need VB program to spit out different cominations of Y and N
- From: BeastFish
- Re: Need VB program to spit out different cominations of Y and N
- From: Michael Harrington
- Re: Need VB program to spit out different cominations of Y and N
- Prev by Date: Re: printing a range of websites
- Next by Date: Re: Need VB program to spit out different cominations of Y and N
- Previous by thread: LAN Video client
- Next by thread: Re: Need VB program to spit out different cominations of Y and N
- Index(es):