• CONTEST ALERT - Experience the power of DDR5 memory with Kingston Click for details

Need help with C++

Status
Not open for further replies.

Sparsh007

Formerly Spashy
hey guys i need a program which could do the following
i will enter few alphabets and it prints all the possible 4 letter combination with them into the notepad file.
Ex: if i enter a,b,c,d,e,f,g
then it gives the output
abcd
abce
abcf
abcg
acde
acfg etc....
Help will be appreciated
 

furious_gamer

Excessive happiness
hey guys i need a program which could do the following
i will enter few alphabets and it prints all the possible 4 letter combination with them into the notepad file.
Ex: if i enter a,b,c,d,e,f,g
then it gives the output
abcd
abce
abcf
abcg
acde
acfg etc....
Help will be appreciated

Just try it urself.....:D
Use permutation logic and apply it for those alphabets.....
 
Status
Not open for further replies.
Top Bottom