subject

This assignment will be divided up into two files. The first file will test your knowledge of using cin, cout, and vectors. The second file will require you to apply this knowledge, as well as using stringstreams File 1 (40% of grade) In the first file, you will need to do the following: Create two vectors. The first will store strings, the second will store doubles Create a loop that will run infinitely o Get user input for a string o If user input is "STOP", then break out of the loop o Store that string in the vector of strings Create a second loop that will run infinitely o Get user input for a double o If user input is "-999.00", then break out of the loop o Store that double in the vector of doubles Create a third loop that will run to the size of the smaller of the two vectors o For each iteration of the loop, print out the same index value of the string vector and the double vector i. e. if i 0, print out stringvector[0] and doublevector[0];

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:10
How can i delete permalinks from a word press site?
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Define a function printfeetinchshort, with int parameters numfeet and numinches, that prints using ' and " shorthand. ex: printfeetinchshort(5, 8) prints: 5' 8"
Answers: 1
question
Computers and Technology, 23.06.2019 15:20
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
question
Computers and Technology, 24.06.2019 02:10
Aspeed limit sign that says "night" indicates the legal speed between sunset and sunrise.
Answers: 2
You know the right answer?
This assignment will be divided up into two files. The first file will test your knowledge of using...
Questions
question
Mathematics, 21.11.2019 10:31