I'll try to explain as best I can what I am trying to do.
1v 2.00 1t 3.20 1h 1.90
2v 1.90 2t 3.20 2h 2.10
3v 1.80 3t 3.20 3h 1.90
4v 1.90 4t 3.20 4h 2.60
..........
..........
These are the games that are being played, usually there are between
10 - 14 games being played each day, so the amount of games vary. I
want to wheel these into 3 game parlays. Example:
1v 2v 3v = (2.00 * 1.90 * 1.80)
1v 2v 4v = (2.00 * 1.90 * 1.90)
1v 2v 3t = etc...
1v 2v 3h = etc...
1v 2v 4t
1v 2v 4h
1t 2v 3v
1t 2v 4v
etc...
The user would enter the games being played that day (10 - 14 games),
then the program will output every possible combination of 3 along
with the odds for that parlay. Can someone give me a hint on how to do
this. I'm still a beginner in C, so go easy on me!
Thanks
Steve