Write a short program that is able to output all permutation


Problem:

Question- Write a short program that is able to output all the permutations of the integers 1,2,3,4. There should be 4!=24 of them. The program should be general enough to be able to output the numbers 1 ....n.

Where the largest n would be 6. The permutations to be output should be stored in a two dimensional array of size 5000 by 6 . The row is the number,the column is the digit. in java

Write the code step by step and explain it.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a short program that is able to output all permutation
Reference No:- TGS0893253

Expected delivery within 24 Hours