Question: Use highschool knowledge please C++ a) Read a set of integers into a vector from the user. Calculate and print the sum of each pair

Use highschool knowledge please C++
a) Read a set of integers into a vector from the user. Calculate and print the sum of each pair of adjacent elements in the vector. Write the program by using the vector subscript at first. b) And then write it by using the iterator
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
