Combinations of characters
Can someone give me a code that works as follows:
Input :
A word containing at max 10 letters.eg: "team"
Output:
The program should print the different words that can be formed using these letters.
eg:team,tema,taem,tame,tmae,tmea, and so on. So the 4 letters give 4! that is 24 words.
I am stuck up badly as I cant get any idea.Please someone help.😕
Input :
A word containing at max 10 letters.eg: "team"
Output:
The program should print the different words that can be formed using these letters.
eg:team,tema,taem,tame,tmae,tmea, and so on. So the 4 letters give 4! that is 24 words.
I am stuck up badly as I cant get any idea.Please someone help.😕
0