Hello friends,
there is yet another problem for you...
We have got a string say HOUR
Now we need a program that can choose the specified number of words say n from this word in all possible ways and displays them ...for example in this case
for n=3 the output should be
HOU
OUR
URH
RHO
scholar
0
Light Poster
Recommended Answers
Jump to Post>there is yet another problem for you...
I've already solved that problem. Perhaps you meant to say "This is my homework".>Now we need a program that can choose the specified number of
>words say n from this word in all possible ways and displays them
As much as …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.