Michal
29th October 2008, 07:04 AM
Hi,
I always thought of my self as inteligent, well untill today LOL. Im trying to write a program that calculates the cost of quinella and I cant figure out the formula.
could someone help me work out this
1
1,2,3,4,5,6,7
1,2,
1,2,3,4,5,6,7
1,2,3
1,2,3,4,5,6,7
1,2,3,4
1,2,3,4,5,6,7
1,2,3,4,5,
1,2,3,4,5,6,7
1,2,3,4,5,6
1,2,3,4,5,6,7
1,2,3,4,5,6,7
1,2,3,4,5,6,7
they are supposed to cost
$6
$11
$15
$18
$20
$21
$21
I cant figure out the correct algorithm that will produce these outcomes. I also feel quite stupid at the moment :)
Thanks
Michal
I always thought of my self as inteligent, well untill today LOL. Im trying to write a program that calculates the cost of quinella and I cant figure out the formula.
could someone help me work out this
1
1,2,3,4,5,6,7
1,2,
1,2,3,4,5,6,7
1,2,3
1,2,3,4,5,6,7
1,2,3,4
1,2,3,4,5,6,7
1,2,3,4,5,
1,2,3,4,5,6,7
1,2,3,4,5,6
1,2,3,4,5,6,7
1,2,3,4,5,6,7
1,2,3,4,5,6,7
they are supposed to cost
$6
$11
$15
$18
$20
$21
$21
I cant figure out the correct algorithm that will produce these outcomes. I also feel quite stupid at the moment :)
Thanks
Michal