Question: Write a program in C + + that prompts the user for five words and stores them in a vector. The words should then be
Write a program in C that prompts the user for five words and stores them in a vector. The words should then be printed back to the user in reverse order.
Sample Output
Please enter five words: apple orange car truck boat
In reverse order the words were: boat truck car orange apple
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
