Computers and Technology

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;
}

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 16:00, Aaraar
Answer me pls is an algorithm that has been coded into something that can be run by a machine.
Answers: 3
image
Computers and Technology, 22.06.2019 22:00, robert7248
Competent nonverbal communication involves interacting with others in a manner that is appropriate for which of the following? select all that apply. situation task individuals
Answers: 3
image
Computers and Technology, 24.06.2019 08:00, nataliamontirl4230
Java the manager of a football stadium wants you to write a program that calculates the total ticket sales after each game
Answers: 1
image
Computers and Technology, 24.06.2019 13:30, sweeps8758
Which type of excel chart should be used to track students’ progress on test grades? line column bar pie
Answers: 2
Do you know the correct answer?
IN C++ PLEASE!! Read integers from input and store each integer into a vector until -1 is read. Do n...

Questions in other subjects:

Konu
Mathematics, 22.07.2021 17:10
Konu
Mathematics, 22.07.2021 17:10