This is a team work I did during my first year at my engineering school.
With this code, a user enters a word of any length, and the program writes all the permutations possible.
The contraint was to use factorials.
We made a main program where the user can choose different options:
- Decomposing a number in a sum of prime numbers
- Write the permutation of a word of 5 letters for a given place
- Write all the permutations of a word of 5 letters
- Write the permutation of a word of n letters for a given place
- Write all the permutations of a word of n letters
- Find the maximum of a function defined on the whole anagrams