subject

IN C++ PLEASE!! Read integers from input and store each integer into a vector until -1 is read. Do not store -1 into the vector. Then, output the last 2 values in the vector, each on a new line. Ex: If the input is -91 -60 38 8 -1, the output is:
38
8

#include
#include
using namespace std;

int main() {
/* Your code goes here */

return 0;
}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
Which one of the following identifies the primary a purpose of information classification processes? a. define the requirements for protecting sensitive data.b. define the requirements for backing up data.c. define the requirements for storing data.d. define the requirements for transmitting data.
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
From excel to powerpoint, you can copy and paste a. cell ranges and charts, one at a time. b. cell ranges and charts, simultaneously. c. charts only. d. cell ranges only.
Answers: 3
question
Computers and Technology, 23.06.2019 13:30
Jace needs to answer a question on square roots to win a quiz. how can he use a spreadsheet to find the square root of 786? a. use the functions round and count b. create a table and chart c. use the function sqrt d. use the function now
Answers: 3
question
Computers and Technology, 23.06.2019 17:30
What are the most commonly found items in the trash according to the municipal solid waste report?
Answers: 1
You know the right answer?
IN C++ PLEASE!! Read integers from input and store each integer into a vector until -1 is read. Do n...
Questions
question
Mathematics, 20.02.2021 14:10
question
Biology, 20.02.2021 14:10
question
Mathematics, 20.02.2021 14:10
question
Geography, 20.02.2021 14:10
question
Biology, 20.02.2021 14:10
question
Mathematics, 20.02.2021 14:10
question
Mathematics, 20.02.2021 14:10
Questions on the website: 13722361