Question: MODIFYING CODE USING C++ Here is what I have to do: Read some text into a vector, storing each word in the input as an
MODIFYING CODE USING C++
Here is what I have to do: Read some text into a vector, storing each word in the input as an element in the vector. Transform each word into uppercase letters. Print the transformed elements from the vector, printing eight words to a line.
Here is what I have so far. But I cannot get the program to stop. I am trying to get the program to terminate after a user inputs DONE.
#include
using namespace std;
int main() { string s; vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
