Question: USING C++ I am trying to modify this code to receive any amount of input, rather than just 10, but also giving the user a

USING C++

USING C++ I am trying to modify this code to receive any

I am trying to modify this code to receive any amount of input, rather than just 10, but also giving the user a code line? word like "DONE" to end the program. However, get 8 of those inputs onto a single line rather than just one per 1#include iostream 2#include 3#include 4#include 5#include 6 using std::cin; 7 using std::cout; 8using std::endl; 9 using std::istringstream; 10 using std::string; 11 using std: :vector; 12 using namespace std; 13 14 int main() 15 16 string s; 17 vectorv; 18 19| 20 21 for(int i 0; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!