Closed Thread
Results 1 to 3 of 3

Thread: Letter Combinations Simple Program

  1. #1
    Han@Solo is offline Newbie
    Join Date
    Oct 2007
    Posts
    1
    Rep Power
    0

    Letter Combinations Simple Program

    Hi,everyone i am new here,and i know very little about programming,and that is why i need your help.

    I need "Letter Combinations Program":for example we have 12 letters,and we need to make as manu as possible 5 letter words(each letter is used only once),and words can be meaningfull and unmeaningfull,which means that i need all combinations.How many combinations are there in this example an can some program be made in which these 12 letters are typed in and then the program list all possible 5 letter words(without repeating the same letter twice)?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Lop's Avatar
    Lop
    Lop is offline Speaks fluent binary
    Join Date
    May 2006
    Posts
    1,178
    Rep Power
    30
    You have any code to show us or are you wanting to hire someone?

  4. #3
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143
    P(12,5) = 95040
    I'd recommend a recursive program to construct the list.
    f(word so far, chars avail, chars to add) might be the skeleton of the recursive function call.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 10-13-2011, 08:52 PM
  2. Replies: 9
    Last Post: 03-04-2011, 04:05 PM
  3. Help with simple program
    By vernacular26 in forum C# Programming
    Replies: 1
    Last Post: 11-05-2010, 05:55 AM
  4. Really simple ads program
    By Licken in forum PHP Development
    Replies: 1
    Last Post: 09-09-2009, 02:16 PM
  5. Help with a simple program!!!!!
    By ragemanster in forum C and C++
    Replies: 5
    Last Post: 01-24-2007, 09:36 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts