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 06:50
Match the personality traits with their description
Answers: 1
question
Computers and Technology, 22.06.2019 17:50
Farah works in an office with two other employees. all three share a printer and an internet connection. the utility that makes this possible is defragger quicktime soho winzip
Answers: 1
question
Computers and Technology, 23.06.2019 21:40
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
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, 28.08.2019 12:00