Make Number List

For community projects only.
Post Reply
ShirleyMSmith
Posts: 22
Joined: Tue Oct 11, 2005 5:23 am

Make Number List

Post 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"
Attachments
GetNumList.zip
Creates number list
(8.43 KiB) Downloaded 863 times
Post Reply