Hi Team,

Could anyone please give me the logic for the following

1. I have an array of values with VM seperation.The array can have any
number of values.

Example ---- ARRAY = 'A':VM:'B':VM:'C'

2. If the count is 3, i want 3!(factorial) combinations to be
displayed like

ABC
ACB
BCA
BAC
CAB
CBA

Likewise, if the count is 4, then there should be 4! combinations (ie
24 combinations).

The count should be n numbers.(Generic and not a specific value.)

I need a logic to implement this. Please help me






--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to