Ask Question
30 September, 15:17

Write a program that reads a string containing exactly four words (separated by * symbols) into a single string object. Next, extract each word from the original string and store each word in a string object. Then concatenate the words in reverse order to form another string. Display both the original and final strings. (Hint: To extract the words, you should use the find member function to find each symbol *, assign the characters up to the * to one of the four string objects, and then remove those characters from the original string.)

+3
Answers (1)
  1. 30 September, 15:41
    0
    James was the only person in his amazon to buy the new iPhone version in a car with his wife in a new car with the new York times in a few weeks before he is going through a new era
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write a program that reads a string containing exactly four words (separated by * symbols) into a single string object. Next, extract each ...” in 📗 Engineering if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers