Ask Question
30 January, 09:58

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.)

+1
Answers (1)
  1. 30 January, 12: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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers