Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

printing the combination of all the letters

 
rachana ravali
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi can anybody help me with the program of printing all the combinations of letters in a word ...
 
Norm Radder
Bartender
Posts: 1358
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you asking for help with your program
or for someone to write the program for you?
 
Rob Spoor
Sheriff
Pie
Posts: 20669
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for the term "permutation".

One thing though - the number of combinations grows exponentially as you add more (unique) letters. For example, 6 unique characters already gives you 6! = 720 options, and by adding one different letter you already have 7 times as much: 5040.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic