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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started