Quantcast
Channel: PTC Community : Popular Discussions - Other Subjects
Viewing all articles
Browse latest Browse all 5789

Permitted combinations of variable !

$
0
0
The problem I have requires that I allow the program to only permit certain combinations of varibles into the next part of the program.

I have 4 variables which all range from say 0 to 9. The combinations of data which are permitted are only those with one usage of a certain number for example:

0,3,7,9 is OK since no two numbers match but
0,3,7,3 is not permitted since I have two numbers that are the same.

Has anyone out there written a program which picks or selects this sort of data ?

Best regards

Ged

Viewing all articles
Browse latest Browse all 5789

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>