Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
I have a question about and algorithm I am creating.
I've got the necesary answer from my equation. But in that loop I need to find out from what combinations that value is given.
"Combinations" means, if you are watching the algorithm, that every variable is taking a valuea between 1 and 4 and entering the eqution.
I think that there are 4 cases in wich that result is given.
How do I find out those 4 cases? (in the same algorithm or even in an other is good; i need and output something like an array)
Please do not cross post.