Jump to content

Recommended Posts

Posted

Yipes! I have a difficult challenge! To work out the least number of lines it takes to guarantee £10 on the Lotto!

 

Please read this thread as it explains everything.

 

http://www.scienceforums.net/forums/showthread.php?s=&threadid=2243&perpage=20&pagenumber=1

 

I need a .....

 

For

 

Next

 

Loop to create all the combinations!

 

Or a bunch of nested loops probably.

 

Thanks!

 

Pincho.

Posted

You need a recursion to generate all the permutions for your lotto lines, off the top of my head I can’t think of the recursion but if you give me time I will try and locate one for you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.