hey everyone i need help help with sorting chars
what im trying to do is show four words in order of increasing

sample run:
1) set
2) wall
3) table
4) answer

CNT use No arrays, programmer defined functions or loops. however can use built-in swap() function,if and or switch

Thanks :)

You better double check your assignment. Either that or you you need to clarify your situation. What is the purpose of this program? It would wind up insanely large for the intended result...

After that, read this.

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.