Hi Folks,
I am a college undergrad (microbiology...not cs) in the middle of a research project. There are 3 sets of numbers I am looking at, and I want to run a rather complex analysis of them. I took a couple years of C++ in high school, so I am under the impression that a program can be coded to do what I want done, but alas, I don't know enough C++ to do it. Does anyone have thoughts on how to code this?...
I have 3 sets of numbers:
x (1, 2, 3, 4, 5, 6, 7...)
y (21, 22, 23, 24, 25, 26...)
z (14, 15, 16, 17, 18...)
I want to determine if any average of any of the numbers in sets x and y equals (or is very close to) one of the numbers in z. The trick is, the average could be 1 number from each set, 2 numbers from 1 set and 1 number from the other, etc. When averaging 2 or more numbers from each set, the numbers dont have to be consequtive. So I pretty much want to test every possibility. Tough, huh? It doesn't have to be pretty or fast, just work . Anyone know how to do this? THanks so much for your time.
[email protected], or just reply