In C++ language:
Given some sentence or phrase from the user, display the sentence where each word has had its letters reversed. After the reversed-worded sentence has been displayed, prompt the user if they would like to give another sentence.
ex:
Computer: Enter your sentence, word, or phrase:
User: I love computer science
Computer: Your phrase with all the word reversed is "I evol retupmoc ecneics"
Computer: Would you like to reverse the words in another phrase?
User: Yes
Computer: Enter your sentence, word, or phrase:
User: Disneyland is the happiest place on earth
Computer: Your phrase will all of the words reversed is "dnalyensiD si eht tseippah ecalp no htrae
Computer: Would you like to reverse the words in another phrase?
User: No
Computer: Goodbye!