Tuesday, 25 December 2012

Permutation of 10 digit numbers

Description:
The purpose is to generate the permutation of the given number

For example:

if the number is: 2
Possible Permutation would be
12
21

if the number is: 3
Possible Permutation would be
123
132
213
231
312
321

and so on...
Similarly the program should generate up to 10 digits of permutation

Here we provide you java file for the same....

You can download it from here..

Some instruction after downloading
-You must be aware of the program definition
-The number should be within the range of 1 and 10 only
-Pass the number as the Command Line Argument

0 comments:

Post a Comment