File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes printing the combination of all the letters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "printing the combination of all the letters" Watch "printing the combination of all the letters" New topic
Author

printing the combination of all the letters

rachana ravali
Ranch Hand

Joined: Jun 20, 2006
Posts: 32
hi can anybody help me with the program of printing all the combinations of letters in a word ...
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 685
Are you asking for help with your program
or for someone to write the program for you?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: printing the combination of all the letters
 
Similar Threads
stars
WA #1.....word association
Creating PDFs in a web app
generics
printing letters through for loop