Sample Run ( OUTPUT )

Enter a word: computer

The well-ordered words of length 3 that can be
formed from the letters in the word "computer" are:

cem ceo cep cer cet ceu cmo cmp
cmr cmt cmu cop cor cot cou cpr
cpt cpu crt cru ctu emo emp emr
emt emu eop eor eot eou epr ept
epu ert eru etu mop mor mot mou
mpr mpt mpu mrt mru mtu opr opt
opu ort oru otu prt pru ptu rtu

THE TOTAL NUMBER IS 56.

Recommended Answers

All 2 Replies

These are all the word; why not and the words com, mut, put ?

and where is your code if I may ask, I suppose u're asking for help and not giving as a "project"

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.