hello i am trying to generate the permutatios of a given set of numbers i am using recursion to get the permutations i am supposed to move the largetst number to the start and terminate generating the permutation when the maximum number reaches the first position and i have to display the permutations generated in each call in the called environment i am placing the code here the problem with it is it can display only the last permutation i really appreciate if some one can help me thanks in advance