Reversal of words in a string. i.e., "Jack is a good boy" into "boy good a is Jack"

Recommended Answers

All 2 Replies

Daniweb is not a homework for free service. Please show some proof of effort if you want help.

What deceptikon said. Adding to that, and giving you a "hint", read the words in the sentence, add them to an array, and then iterate from end to beginning. Have fun! :-)

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.