Page 1 of 1

Make Number List

Posted: Sun Apr 19, 2009 3:22 am
by ShirleyMSmith
This program is for DavidNorris per his request in this post:
http://justbasic.conforums.com/index.cg ... 1238818075

If anyone wants to improve or modify it please feel free.

Here is the quote from his post:
"I want to be able to enter any 3 digit number and from that, the program must produce 20 numbers from 1 to 80 you cant use the same number twice.

Example is if I entered 812 the program needs to produce 20 numbers that when added together will equal 812 (or whatever number I put in) remember the numbers must be from 1 to 80 and it cant use the same number twice. I know this may produce a few variations of numbers but that is ok. If possible have the program list all the different combinations of numbers"