|
-
Generating Combinations
I have to make a program where the user inputs a number and display all the possible combinations of the letters representing the digits in the number.
I am not asking anyone to do this for me, but I simply don't know where to start with generating the different combinations. I am supposed to avoid using numbers with 0s and 1s
For example
2 - ABC
3 - DEF
4 - GHI
5 - JKL
6 - MNO
7 - PRS
8 - TUV
9 - WXY
835-555-3566
The only letter here that was changed here was the one representing 8
TDJ-JJJ-DJMNO
UDJ-JJJ-DJMNO
VDJ-JJJ-DJMNO
Does anyone have any ideas on how I can go about solving this problem?
Similar Threads
-
By iordanis in forum VB Classic
Replies: 9
Last Post: 09-29-2005, 05:56 AM
-
By John24 in forum VB Classic
Replies: 1
Last Post: 09-15-2005, 11:07 AM
-
By JDeveloper in forum XML
Replies: 0
Last Post: 03-13-2001, 12:38 AM
-
By Diesel in forum ASP.NET
Replies: 2
Last Post: 05-16-2000, 05:54 PM
-
By Andy Goldberg in forum Talk to the Editors
Replies: 1
Last Post: 03-27-2000, 09:38 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks