![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Nov 2006
Posts: 3
Rep Power: 0
![]() |
Number Combinations
I need help creating a program that generates all of the possible combinations of the last four digits of a telephone #. I want to be able to input the area code and exchange which are known values. The program will then generate the list which I need to export into another program. The list must be in a excel or CSV format.
I think this can be accomplished in excel but I have had no success. |
|
|
|
|
|
#2 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
there are 10,000 possibles.
psuedocode...
for(i = first known val; i <= last known val; i++)
{
for(j = 0; j < 10000; j++)
{
concatenate i to the end of j
}
}
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#3 |
|
Professional Programmer
|
Oiye.
|
|
|
|
|
|
#4 |
|
Newbie
Join Date: Nov 2006
Posts: 3
Rep Power: 0
![]() |
thankks for the info, you guyas a little ahead of me so please bare with me. If I ma in excel can i simply put that formula into the colum for the last 4 digits. What I am saying is I need my hand held alittle on this one, if you can give more specific directions thank you so much
|
|
|
|
|
|
#5 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
i would, but i need my hand held also when it comes to excel.
click on help.
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Nid Help:about combinations | veiga2 | Java | 5 | Aug 15th, 2006 1:49 PM |
| Jython | Jessehk | Coder's Corner Lounge | 2 | Feb 5th, 2006 4:35 AM |
| [tutorial] Python for programming beginners | coldDeath | Python | 30 | Dec 14th, 2005 11:35 AM |
| FiveDigit + RandomeNumber Game. | TecBrain | Java | 0 | Nov 18th, 2005 2:53 PM |
| Number Systems... | Ade | Coder's Corner Lounge | 7 | Jan 19th, 2005 5:32 AM |