Update------------------
This problem has been solved. See last two posts.
What would be best practice for creating permutations in coding? More specifically here is what I am doing.
I have three sets of Yes and No buttons. If Yes is clicked it is assigned six different numerical outcomes. If No is clicked it is assigned no outcome.
We will call the first set of Yes and No. Y1 and N1. The second Y2 and N2. The third Y3 and N3.
We will call the first set of numerical outcomes A1 A2 A3 A4 A5 A6. The second B1 B2 B3 B4 B5 B6. The third C1 C2 C3 C4 C5 C6.
So if a user were to press Yes, Yes, NO. The possible outcomes would be:
For Y1:
A1
A2
A3
A4
A5
A6
For Y2:
A1 + B1
A1 + B2
A1 + B3
A1 + B4
A1 + B5
A1 + B6
A2 + B1
A2 + B2
A2 + B3
A2 + B4
A2 + B5
A2 + B6
And etc. through A5.
Y3 would be the same as Y2 because no does not assign a value.
The final outcome is not randomly generated out of this list but the entire list is displayed on the gui.
I can code this but the only way I know how to do it is to list out every single permutation. That would take forever. Is there a faster way to do this? I’m not asking that you write the code but just give me an idea of what best practice for this scenerio would be.