Wednesday, 12 August 2020

Program 24

 Program 24

Write a program that asks the user for a word and finds all the smaller words that can be made from the letters of that word. The number of occurrences of a letter in a smaller word can’t exceed the number of occurrences of the letter in the user’s word.

Program:

Output:

 

No comments:

Post a Comment